Created
June 26, 2024 14:56
-
-
Save didihost/ae9a40b36621644a2955586ded2a8a02 to your computer and use it in GitHub Desktop.
box model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="content1">Content</div> | |
<div id="content2">Here is</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div { | |
width: 200px; | |
height: 100px; | |
padding: 20px 10px 30px 40px; | |
border: solid 10px red; | |
margin: 10px 20px 30px 40px; | |
background-color: yellow; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment