
휘몰아치고 끝나는 CSS 수업ㅋㅋㅋ 아이콘이 글씨처럼 취급될 수 있는 게 제일 신기했음
grid로 갈 수록 최신 기술(최신 기술일 수록 적용 안되는 환경이 많음)
caniuse.com에서 확인

```css
/*css*/
.clear {
clear: both; /* float:left와 float:right를 모두 초기화*/
}
```
```html
<!--html-->
<div class="clear"></div>
```<!--html-->
<div class="row mt-40">
<h1>2단 레이아웃</h1>
</div>
<div class="row">
<div class="float-left w-50">1단</div>
<div class="float-left w-50">2단</div>
</div>
content: “”; display: block;/*css*/
.float-container {}
.float-container::after {
content: "";
display: block;
clear: both;
}
<!--html-->
<div class="row mt-40">
<h1>최종(float-container 사용)</h1>
</div>
<div class="row float-container">
<div class="float-left w-33">1단</div>
<div class="float-left w-33">2단</div>
<div class="float-left w-33">3단</div>
</div>
float를 대체할 수 있음
display: flex
개별 항목이 아니라 영역 자체에 설정하는 것
배치 방향 설정(flex-direction 속성)
폭을 지정하지 않으면 자동으로 비율로 할당되도록 구현할 수 있음(개별 설정): flex-grow
.first > div {
flex-grow: 1;
}
/* 알아서 항목 수/100 비율로 나눠 줌 */
줄바꿈

정렬 기준을 손쉽게 설정할 수 있음
내부 항목들의 배치 순서를 변경할 수 있음(개별 설정): order
flex는 가운데 정렬 쉽게 해줌
float에서는 높이가 개별적으로 설정됐었는데, flex는 전체 높이 한 번에 늘어남
ex. input과 이미지를 한 줄에 배치할 때 flex 쓰면 정렬이 딱 맞게 됨
이미지가 높이를 맞춰도 input보다 아래에 위치하게 되는 문제를 해결할 수 있음
.third {
display: flex;
height: 200px;
justify-content: center; /* 가로 정렬(왼/오/양쪽/가운데 정렬 모두 됨) */
align-items: center; /* 세로 정렬 */
}


css reset style 검색 시, 이미 유명한 스타일들을 찾아볼 수 있음
내가 필요한 것만 남길 수 있도록 해야 함
css 파일 import할 때 불러온 순서대로 적용됨
/* 애니메이션 생성 */
@keyframes blingbling {
from {
color: rgb(255, 38, 219);
}
to {
color: rgb(153, 29, 255);
}
}
.glow-text{
/* animation: blingbling 1s ease-in-out 0s 10; */
animation-name: blingbling;
animation-delay: 0s;
animation-duration: 1s;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-direction: alternate;
}