HTML & CSS
7. 트랜지션과-애니메이션
이미지 다운로드 개요 본 학습 문서는 웹 페이지에 생동감을 불어넣는 CSS의 핵심 동적 효과인 트랜지션(Transition), 트랜스폼(Transform), 그리고 애니메이션(Animation) 기술을 심도 있게 다룹니다. 요소의 상태 변화를 부드럽게 이어주는 트랜지션의 기본 원리부터, 2D 및 3D 공간에서의 공간 변형을 제어하는 트랜스폼, 그리고 @keyframes를 활용한 정교한 시무브먼트 구현법을 체계적으로 학습합니다. 실무에서 즉시 활용 가능한 카드 뒤집기, 호버 확대, 경로 … 더 읽기
리퀴드글래스
Apple이 WWDC25에서 공개한 Liquid Glass 디자인 언어의 핵심 효과를 CSS와 SVG 필터 조합구현 Specular Highlights, Blur, Color Filter, Refraction, Edge/Ripple Distortion, Chromatic Aberration 등 실제 유리 재질을 모방하는 다양한 레이어를 단계별로 CSS/SVG로 구현 주요 효과 구현에는 backdrop-filter, box-shadow, SVG DisplacementMap, Turbulence, ColorMatrix, Offset, Blend 사용 Safari/Firefox에서는 SVG 필터가 동작하지 않아 Blur·Shadow만 적용 복잡한 효과일수록 GPU 사용량이 크고, UI 전반에 남용 … 더 읽기
2. 문자
문자관련스타일 01. font 단위 👁🗨 상대단위들 단위 기준 em 부모 요소 기준 단위환산사이트 rem :root(html) 기준 (루트→최상위) vh 브라우저 화면 높이기준 (viewportHeight→vh) (폰트크기 x 브라우저높이) / 100 vw 브라우저 화면 너비기준(viewportWidth→vw) (폰트크기 x 브라우저너비) / 100 % 부모요소 기준 <div class="parent"> 부모 요소 (font-size 20px, 400×300) <p class="em">em: 부모 폰트(20px) × 2 = 40px</p> <p … 더 읽기
hover효과
2.마우스 오버 효과 1.1. button-hover 1.1.1. mouse-hover1 HTML <a href="#"><span></span>hover me</a> CSS body { margin: 0; display: flex; align-items: center; justify-content: center; height: 100vh; font-family: verdana; background-color: #272727; } a { width: 220px; height: 80px; color: #ff0; background-color: transparent; font-size: 26px; text-decoration: none; text-transform: uppercase; text-align: center; line-height: 80px; transition: all 0.5s; position: relative; } … 더 읽기
반응형 햄버거메뉴
8.반응형 햄버거메뉴 1. 자바스크립트 미리보기 index.html <!DOCTYPE html> <html lang="ko"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Responsive Navigation Bar</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" /> <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&display=swap" rel="stylesheet" /> <link rel="stylesheet" href="style.css" /> </head> <body> <header> <nav> <a href="#home" id="logo">Site Logo</a> <i class="fas fa-bars" id="ham-menu"></i> <ul id="nav-bar"> <li> <a href="#home">Home</a> </li> <li> <a href="#about">About</a> </li> <li> <a … 더 읽기