CSS

[responsive] CSS - RES Frameworks - (반응형 프레임워크) - 반응형홈페이지틀

대표적인 반응형 프레임워크

 

1. W3.CSS 활용

2. BS 활용 (= 부트스트랩 활용)

 

※ 프레임워크 : 미리 만들어놓은 틀

 

 

W3.CSS 예제

 

<!DOCTYPE html>

<html>

<title>홈짱닷컴</title>

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">

<body>


<div class="w3-container w3-green">

  <h1>홈짱닷컴</h1> 

  <p>Homzzang.com</p> 

</div>


<div class="w3-row-padding">

  <div class="w3-third">

    <h2>HTML</h2>

    <p>홈페이지 기본 뼈대</p>

  </div>


  <div class="w3-third">

    <h2>CSS</h2>

    <p>홈페이지 주요 디자인</p>

  </div>


  <div class="w3-third">

    <h2>JS</h2>

    <p>홈페이지 동적 기능</p>

  </div>

</div>


</body>

</html>


결과보기

 

 

 

BS 예제

 

<!DOCTYPE html>

<html lang="kr">

<head>

  <title>홈짱닷컴</title>

  <meta charset="utf-8">

  <meta name="viewport" content="width=device-width, initial-scale=1">

  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>

  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

</head>

<body>


<div class="container">

  <div class="jumbotron">

    <h1>홈짱닷컴</h1>

    <p>Homzzang.com</p> 

  </div>

  <div class="row">

    <div class="col-sm-4">

      <h3>HTML</h3>

      <p>홈페이지 뼈대</p>

    </div>

    <div class="col-sm-4">

      <h3>CSS</h3>

      <p>홈페이지 디자인</p>

    </div>

    <div class="col-sm-4">

      <h3>JS</h3>    

      <p>홈페이지 기능</p>

    </div>

  </div>

</div>


</body>

</html>


결과보기

※ BS 그리드에 대해서 공부 !!


분류 제목
css CSS - page-break-inside 속성 -
css CSS - paint-order 속성 - SVG 요소나 텍스트 그려지는 순서 지정 (= paint-order…
css CSS - place-content 속성(C) - (flex/grid) 레이아웃에서 (수직정렬/수평정렬) 일…
css CSS - place-items 속성 - 그리드 레이아웃에서 셀 내 아이템 (수직/수평) 정렬 (= plac…
css CSS - place-self 속성 - 그리드셀 내 개별 아이템 (수직/수평) 정렬 (= place-self…
css CSS - quotes 속성 - 인용부호 모양 지정 (= quotes속성 = 쿼트스속성/쿼츠속성)
css CSS - rotate 속성 - 요소 회전 (= rotate속성 = 로테이트속성)
resize CSS - scale 속성 - 요소 크기 변경 (= scale속성 = 스케일속성) ※ 요소 사이즈 ※ 요소 …
scroll CSS - scroll-behavior 속성 ★ - 스크롤박스 내 동일 페이지 링크 이동 시 부드럽게 이동할…
scroll CSS - scroll-margin 속성 - 스크롤마진 일괄 지정 (= scroll-margin속성 = 스크…
scroll CSS - scroll-margin-block 속성 -
scroll CSS - scroll-margin-block-end 속성 -
scroll CSS - scroll-margin-block-start 속성 -
scroll CSS - scroll-margin-bottom 속성 -
scroll CSS - scroll-margin-inline 속성 -
31/33
목록
 홈  PC버전 로그인 일본어
그누앞단언어
그누뒷단언어
그외코딩언어
그누보드
제작의뢰
Q&A
커뮤니티 2
웹유틸
회원센터
홈짱닷컴 PC버전 로그인