meong_j
기록하는 습관.
meong_j
전체 방문자
오늘
어제
  • 분류 전체보기 (176)
    • 개인 공부 정리 (0)
    • 서버 운영 (37)
      • Linux (36)
    • Frontend (11)
      • Vue.js (10)
    • Backend (70)
      • Java (4)
      • Python (22)
      • Django (38)
      • Spring (6)
    • Database (5)
      • Oracle (4)
      • MySQL (1)
      • MariaDB (0)
    • Android (14)
      • Kotlin (6)
    • 배포 (9)
      • Docker (8)
      • AWS (1)
    • IT_study (29)
      • Coding test (17)
      • 알고리즘 (5)
      • 스터디 (6)

블로그 메뉴

  • 홈
  • 태그
  • 방명록
  • github

인기 글

반응형

태그

  • cpu사용률
  • django
  • 테크커리어
  • DHCP
  • Kotlin
  • 리눅스방화벽
  • 이차원배열정렬
  • 개발자도서
  • 배포인프라
  • gabagecollecter
  • dp #알고리즘
  • dockersecret
  • SASS Variables
  • 안드로이드adaptor
  • Proxy
  • router-link
  • 리눅스인증
  • 코틀린자료형
  • 중첩라우트
  • docker

최근 댓글

최근 글

250x250
hELLO · Designed By 정상우.
meong_j

기록하는 습관.

구글 material icons 아이콘 적용하기
Frontend

구글 material icons 아이콘 적용하기

2021. 11. 24. 15:26
728x90
반응형

 

머티리얼 아이콘(meterial icon)은 구글에서 제공하고 있는 아이콘(icon) 디자인 모음입니다.

여러 가지 다양한 아이콘들이 많고, 무료로 사용할 수 있습니다. 또한 해당 아이콘 SVG, PNG 파일을  다운로드하여 웹, 앱 등에서 다양하게 적용시킬 수 있습니다. 

 

https://material.io/resources

 

Material Design

Build beautiful, usable products faster. Material Design is an adaptable system—backed by open-source code—that helps teams build high quality digital experiences.

material.io

 

적용하기 위한 방법은 간단합니다. 

먼저 구글 git에서 제공하고 있는 다음 코드를 HTML 에 삽입합니다.

 

link 코드 삽입

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

 

 

 

https://fonts.google.com/icons

 

Google Fonts

Making the web more beautiful, fast, and open through great typography

fonts.google.com

 

 

사용할 아이콘을 고르고, class = matrial-icons 로 지정

아이콘 마다 지정되어 있는 이름을 태그에 적용시킵니다.

아이콘 모양

적용 예시

 <a class="material-icons"
   style="box-shadow: 0 0 4px #ccc; border-radius: 10rem; padding: .4rem;"
   href="{% url 'accountapp:update' pk=user.pk %}">
    schedule
 </a>

 

반응형
저작자표시 비영리 변경금지 (새창열림)
    meong_j
    meong_j
    #it #개발일기 #개발공부 #개발자 #백앤드 #생각정리 #시간은 실력에 비례한다 #뭐든지 꾸준히 열심히 #오늘의 내가 내일의 나를 만든다

    티스토리툴바