본문 바로가기 메뉴 바로가기

Programmers

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Programmers

검색하기 폼
  • 개발 노트 (287)
    • VUEJS (21)
    • JAVA (3)
    • Python (10)
    • HTML CSS JS (72)
    • Servlet JSP (67)
    • JDBC (19)
    • Oracle Database (21)
    • POSIX CLI (13)
    • Git (34)
    • 알고리즘 (4)
    • 개발자 취업 준비 (8)
    • 스크랩 [정보] (1)
    • 이것저것 정리 (6)
  • 방명록

% (1)
CSS) px, %

1. px 절대적으로 고정하는데 사용하는 단위 css body * { border: 2px solid; } .container { width: 600px; } .parent { width:300px; } .child { width: 150px; } html Container Parent Child1 Child2 출력 2. % 부모단위의 영향을 받아서 %가 적용된다. css body * { border: 2px solid; } .container { width: 600px; } .parent { width:50%; } .child { width: 50%; } html Container Parent Child1 Child2 출력

HTML CSS JS 2021. 7. 28. 08:44
이전 1 다음
이전 다음
공지사항

Blog is powered by Tistory / Designed by Tistory

티스토리툴바