Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- TypeScript
- 자바
- Til
- 이클립스 DB연동
- 자바 if문
- 변수
- 자바 삼항연산자
- 자바 강제 캐스팅
- 자바 for문
- 자바 switch문
- react ag grid
- 타입스크립트
- java
- react with typescript
- 자바 조건문
- 자바 구구단 출력
- 자바 향상된 for문
- 항해99
- 자바 공배수
- 자바 스캐너
- 조코딩
- 정보처리기사실기
- 자바 public
- 자바 반복문
- MySQL
- Vue3
- 프로그래머스
- 자바 while문
- 항해99 2기
- 자바 자동캐스팅
Archives
- Today
- Total
뇌 채우기 공간
[깃허브 예제] 하단 card부분 본문
/* pricing card */
.section--pricing{
background: linear-gradient(#f5f5f5, #fff);
}
.section--pricing .inner{
padding: 80px 0 ;
}
.section--pricing .card{
display: flex;
border: 1px solid #e5e5e5;
border-radius: 6px;
box-sizing: border-box;
}
.section--pricing .card .cell{
padding: 24px;
display: flex;
justify-content: center;
align-items: center;
}
.section--pricing .card .cell1 btn{
height: 50px;
font-size: 16px;
}
.section--pricing .card .cell2{
/* cell2부분이 늘어나거나 줄어들 수 있도록 */
font-size: 22px;
font-weight: 300;
line-height: 1.5;
flex: 1;
border-left: 1px solid #e5e5e5;
}
<section class="section section--pricing">
<div class="inner">
<div class="card">
<div class="cell cell1">
<a href="#" class="btn btn--primary">Sign up for a GitHub</a>
</div>
<div class="cell cell2">
Public projects are always free. Work together across unlimited private repositories for $7 / month.
</div>
</div>
</div>
</section>
728x90