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
- Swift 고차함수
- Swift LinkedList
- CoreData
- dateFormatter
- 일급 객체
- CoreData Concurrency
- LightWeight Migration
- Raw value and Associated value
- iOS Static Library
- Swift
- NSPredicates
- 트레일링 클로저
- CoreData Stack
- Persistent store Coordinator
- CoreData Filter
- codability
- 2022 부스트캠프
- Associated Value
- 스위프트 클로저
- iOS Static Library 사용하는방법
- expensive operation
- NSSortDescriptor
- Clean swift
- NSManagedObject SubClass
- persistentStoreCoordinator
- Java
- leetcode #01
- 다익스트라 이해
- Swift closure
- 1009번
Archives
- Today
- Total
하루를살자
CSS- (2) : Properties 속성 - font 본문
Font-size
px = pixel (고정됨)
em = 상대적 (브라우저의 font-size 에 따라 달라짐)
rem = 상대적 (브라우저의 font-size 에 따라 달라짐) --> 요즘 많이 쓰임.
Font-family -> 폰트 글꼴 지정
font-family: Arial, Helvetica, sans-serif;
==> Arial font 가 없다면, Helvetica 로 하고
sans-serif -->글꼴 끝쪽에 장식이 있음
Serif --> 글꼴 끝쪽에 장식이 없음
Font-weight : 두께
line-height: 자간 (Default :1.2)
--> px 로 설정하면 폭의 고정 값이 고정
Color
rgb = rgb(255, 0, 0)
hex = #000000
color = blue
text 정렬
text-align: center, left, (justify = 꽉차게) ...등
p{
font-size:5rem;
font-family: arial, verdana, "Helvetica Neue", monospace;
font-weight: bold;
line-weight: 2;
}
//아래와 같이 font property 의 순서에 맞게 한줄로 써줄수도 있다. *순서는 인터넷에 꼭 찾아볼것
p2{
font:bold 5rem/2 arial, verdana, "Helvetica Neue", serif;
}
'CSS' 카테고리의 다른 글
CSS- (3) : Cascading Priority (0) | 2021.12.11 |
---|---|
CSS - (1) : Selector & Declaration (0) | 2021.12.09 |
Comments