8000 GitHub - kanayofirms/demo: This is an example to show off the box model
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kanayofirms/demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Demo

This exercise is a demostration of the CSS Box Model to my students.

The parent div element is given a class selector of container. The child div element is given a class selector of article. Padding increases the space between the edge of a box and the content inside of it. Margin increases the space between a box and any others that sit next to it. Border adds space (even if it’s only a pixel or two) between the margin and the padding.

Screenshot 2022-12-16 111558

About

This is an example to show off the box model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0