HTML/CSS - Box model
CSS Box model
- meaning
The CSS box model is essentially a box that wraps around every HTML element. It consists of: margins, borders, padding, and the actual content. The image below is an - example.
CSS box model
- explanation
Content - The content of the box, where text and images appear
Padding - Clears an area around the content. The padding is transparent
Border - A border that goes around the padding and content
Margin - Clears an area outside the border. The margin is transparent
-
code example
-
reference
w3schools.com (https://www.w3schools.com/css/css_boxmodel.asp)
Author And Source
이 문제에 관하여(HTML/CSS - Box model), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@asap0208/HTMLCSS-Box-model저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)