Home >
front end > Web design size does not accord with the actual size
Web design size does not accord with the actual size
Code:
<meta charset="utf-8" & gt;
<meta name="viewport" content="width=device - width, initial - scale=1" & gt;
<meta HTTP - equiv="X - UA - Compatible" content="ie=edge" & gt;
<style type="text/CSS" & gt;
* {margin: 0; padding: 0; }
Div {margin: 10 px; width: 200px; height: 200px; Background - color: red; }
</style>
<body>