개발새발 로그

아이콘 사용하는 법 - material icons cdn 본문

HTML

아이콘 사용하는 법 - material icons cdn

이즈흐 2023. 11. 29. 18:11

1. material icons cdn 이라고 검색하기

https://developers.google.com/fonts/docs/material_icons?hl=ko

 

머티리얼 아이콘 가이드  |  Google Fonts  |  Google for Developers

이 페이지는 Cloud Translation API를 통해 번역되었습니다. Switch to English 머티리얼 아이콘 가이드 컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요. 머티리얼 아이

developers.google.com

 

2. link태그 있는 부분 복사하기

<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
      rel="stylesheet">

 

3. index.html에 붙여넣기

 

4. material icons 검색하기

https://fonts.google.com/icons

 

Material Symbols and Icons - Google Fonts

Material Symbols are our newest icons consolidating over 2,500 glyphs in a single font file with a wide range of design variants.

fonts.google.com

 

이때 우리는 현재 filled 라는 아이콘만 사용가능하도록 cdn 등록을 했다.

위 처럼 필터링해서 사용할 수 있는 아이콘만 보자

5. 사용하려는 아이콘 선택 후 코드 복사

6. 코드 붙여넣기 후 사용!

 

728x90
반응형
LIST