default.css 에 아래 코드 지정.
// 거터값 지정
[class*="col-"] {
padding: 0 8px;
}
// 12단 컬럼
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
Responsive Web Design Media Queries
Responsive Web Design - Media Queries What is a Media Query? Media query is a CSS technique introduced in CSS3. It uses the @media rule to include a block of CSS properties only if a certain condition is true. Example If the browser window is 600px or smal
www.w3schools.com
'css' 카테고리의 다른 글
| Link와 @import 차이점 (0) | 2021.08.23 |
|---|---|
| 짧은 밑줄 만들기 (0) | 2021.07.27 |
| 반응형 nav 만들기 (0) | 2021.07.21 |
| 메뉴바 스르륵 나타나기 (0) | 2021.06.21 |
| flexbox 블로그글 (0) | 2021.06.21 |