😎 Today I Learned

[TIL] 22.02.08

soozkim 2022. 2. 8. 22:50

CSS

  • Position:  static, absolute, fixed, relative
  • z-index : 심도 μœ„μΉ˜, μˆ«μžκ°€ 클수둝 μ•žμœΌλ‘œ λ‚˜μ˜€κ³  μž‘μ„ 수둝 λ’€λ‘œ 감
  • float : left, right, clear : both(left, right)
  • box-sizing : content-box, border-box
  • overflow : hidden, auto, scroll
  • Flex 

        1. Container

          1) display : flex(inline-flex)

          2) flex-direction

          3) flex-wrap

          4) justify-content

          5) align-items

          6) align-content

 

  • selector : *, νƒœκ·Έλͺ…, #idλͺ…, .클래슀λͺ…, μ„ νƒμžA>μ„ νƒμž B, μ„ νƒμžA μ„ νƒμžB
  • 가상 클래슀
    • a:hover : 마우슀의 μ»€μ„œλ₯Ό μ˜¬λ Έμ„ λ•Œ
728x90