반응형
CSS
@font-face
- 웹페이지의 텍스트에 온라인 폰트를 적용할 수 있다.
@font-face { font-family: <a-remote-font-name>; src: <source> [,<source>]*; [font-weight: <weight>]; [font-style: <style>]; } body{ font-family : ; }
vh / vw
- vh : 뷰포트의 높이값이 100분의 1의 단위
- vw : 뷰포트의 너비값의 100분의 1의 단위
<div>
투명도
- opacity : 배경과 글자 모두가 투명해짐
- 색상만 투명하게 할땐 RGBA사용
- https://coding.tools/kr/hex-to-rgba
둥글게 만들기
- boarder-radius : 전체
- boarder-radius : 상좌 상우 하좌 하우;
'TIL' 카테고리의 다른 글
prisma - update error : An operation failed because it depends on one or more records that were required but not found. Record to update not found. (0) | 2023.01.05 |
---|---|
알고리즘 강의 정리 (간략) (0) | 2023.01.03 |
가상메모리 - page/segmentation (0) | 2022.12.13 |
MySQL grant all privileges 문법 (0) | 2022.11.15 |
[pieces] 스터디 해왔던 기록들 (0) | 2021.05.12 |