본문 바로가기

Lecture

2021.3.10 (Tue) - Assignment

Searching and Understanding CSS (which are firstly seen)

  • background:url >> background에 url 넣음
  • background-position >>  배경 dlalwl 위치 설정 x% y% >> x위 아래 y 양옆으로
  • text-align >> text center alignment
  • line-height >> 줄 높이 설정 - 줄 간격

 

  • border-radius >> 테두리 둥글게 설정/ 8개 사이즈 설정 = top left> top right< bottom right< bottom left> / top left (아래로) top right (아래로) bottom right (위로) bottom left (위로)
  • >> Apx Bpx / Cpx D px = 왼쪽 위쪽부터 대각선으로 시계방향
  • >> A px / B px = 위 아래 / 양 옆
  • >> A px = 전체 사이즈 설정

 

  • box-sizing: border-box; >> 선이 안쪽으로 생긴다/ 크기를 정할때 테두리가 기준이 됨
  • no-repeat >> 반복배열 되지 않도록
  • >> no-repeat이 없으면 어떻게 될까?

그래서 없애 보았다.

이렇게 됨,,,

 

 

background element = 태그의 배경을 지정하는 속성

 

 

'Lecture' 카테고리의 다른 글

2021.3.12(Fri) - Assignment  (0) 2021.03.15
2021.3.12 (Fri)  (0) 2021.03.12
2021.3.11(Thu) - GROUP CSS FIXED VER.  (0) 2021.03.11
2021.3.11(Thu) - Def  (0) 2021.03.11
2021.3.10 (Wed) -def  (0) 2021.03.10