[CSS] CSS
CSS- 적용: 인라인(style="color: red;"), , - 선택자: *, tag, .class, #id, [attr="val"]- 가상 클래스/요소: :hover, :nth-child(n), ::before, ::after- 박스모델: content, paddind, border, margin, box-sizing(border-box)- 레이아웃: display(block, inline, inline-block, flex, grid, none), position(static, relative, absolute, fixed, sticky)- 반응형 디자인: @media (max-width: 768px)- 변수: :root { --main-color: #3498db; } var(--main-col..
2025. 4. 4.
[CSS] 그래픽 효과
그래픽 효과더보기/* 투명도 */opacity: 1;/* 박스 그림자 효과. 가로축, 세로축, 흐림정도, 색 */box-shadow: 20px 20px 30px gray;/* 텍스트 그림자 효과. 가로축, 세로축, 흐림정도, 색 */text-shadow: 10px 10px 30px gray;/* 박스 둥글게 설정 */border-radius: 30px;border-radius: 50%;/* 배경 그라데이션: 방향, 출발색, 도착색 */background: linear-gradient(to bottom, blue, red);background: linear-gradient(to top, blue, red);background: linear-gradient(to left, blue, red);backgrou..
2025. 3. 6.