Get Started With Viewing And Changing CSS

View an element's CSS

  • 원하는 요소 위에서 우클릭 > Inspect

Add a CSS declaration to an element

  • Styles tab > element.style 선택한 요소에 원하는 css 입력

Add a CSS class to an element

  • Styles tab > :cls 클릭하고 원하는 class 입력
  • 체크 버튼으로 클래스 활성/비활성 선택 가능

Add a pseudostate to a class

  • Styles tab > :hov 클릭하고 원하는 요소에 가상 상태 부여 가능

Change the dimensions of an element

  • Box Model 다이어그램에서 넓이, 높이, 패딩, 마진, 선 두께등을 조절할 수 있음

출처 :크롬 개발자도구 공식 가이드

+ Recent posts