본문 바로가기
Etc./CSS

[CSS] inline element

by ahj 2021. 11. 5.

https://www.samanthaming.com/pictorials/css-inline-vs-inlineblock-vs-block/

 

CSS Inline vs Inline-Block vs Block | SamanthaMing.com

Alright, let’s switch up Pictorials to cover CSS. Beside JavaScript algorithm questions, as a Front End Developer, you might also get asked CSS related quest...

www.samanthaming.com

참고한 사이트

 

inline element는 height, width를 가지지 못한다. CSS로 width, height를 넣어줘도 동작하지 않는다. 단, img의 경우는 width, height를 설정해줄 수 있다.

 

'Etc. > CSS' 카테고리의 다른 글

[CSS] margin collapsing  (0) 2021.11.11
[CSS] flex  (0) 2021.11.06
[CSS] 선택자 우선순위 계산  (0) 2021.11.03
[CSS] 가상 클래스(Pseudo-class) vs 가상 요소(Pseudo-element)  (0) 2021.11.03
[CSS] float  (0) 2021.10.29

댓글