카테고리 없음

CSS 필수 요소( Box Model, Styling w&h, Pseudo Classes & Elements, The 'display' Property)

쿠키는 서비스 2023. 4. 14. 16:00
반응형

The Box Model - margin, border, padding, content

Styling Width & Height

- px or % (or other units)

- % refers to container

- width and height

- box-sizing can be content-box(default) or border-box

 

Pseudo Classes & Elements

:hover

:active

:first-of-type

 

::after

::first-letter

 

The "display" Property

- control behavior(block vs inline) of elements

- Mix behavior via inline-block

- Remove elements via none

 

참고하기

반응형