inblog logo
|
harimmon
    CSS

    [CSS] 12. 아이콘 & 스타일 시트

    백하림's avatar
    백하림
    Mar 10, 2025
    [CSS] 12. 아이콘 & 스타일 시트
    Contents
    1. 스타일 시트 적용 방법2. style.css3. 아이콘 찾는 방법

    1. 스타일 시트 적용 방법

    💡
    <head>안에
    <link rel="stylesheet" href="style.css">
    <!DOCTYPE html> <html lang="en"> <head> <link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"> </head> <body> <h1>Icons</h1> <i class='fas fa-ambulance'></i> <i class='fas fa-ambulance' style='font-size:24px'></i> <i class='fas fa-ambulance' style='font-size:36px'></i> <i class='fas fa-ambulance' style='font-size:48px;color:red'></i> <i class='fas fa-fire' color:orange'></i> <i class='fas fa-tree' color:green'></i> </body> </html>

    2. style.css

    h1 { color: blue; }

    3. 아이콘 찾는 방법

    1. 튜토리얼 → Leans Icons 클릭
    notion image
    1. 원하는 카테고리 선택 or 검색하기 → Try it 클릭
    notion image
    1. 복사 → body 안에 넣어주기
    notion image
    1. 완성
    notion image
     
    Share article

    harimmon

    RSS·Powered by Inblog