Browse Source

Set min height and max width

file-group-page
bat 3 years ago
parent
commit
e745c03335
  1. 10
      index.html

10
index.html

@ -2,14 +2,20 @@
<html> <html>
<head> <head>
<title>macchiato.dev</title> <title>macchiato.dev</title>
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<style type="text/css"> <style type="text/css">
html, body { html, body {
margin: 0;
padding: 0; padding: 0;
} }
html { html {
box-sizing: border-box; box-sizing: border-box;
height: 100vh;
height: 100svh;
}
body {
min-height: 100vh;
max-width: 800px;
margin: 0 auto;
} }
*, *:before, *:after { *, *:before, *:after {
box-sizing: inherit; box-sizing: inherit;

Loading…
Cancel
Save