본문 바로가기

HTML, CSS

[CSS] 모듈

1. fontawesome

 

Search | Font Awesome

 

Font Awesome

The world’s most popular and easiest to use icon set just got an upgrade. More icons. More styles. More Options.

fontawesome.com

아이콘 svg 파일을 아주 쉽게 사용가능하다. 

- 메일로 받은 코드를 <script/> 안에 넣고 

- 필요한 아이콘을 찾아 바로 코드를 복붙 하기만 하면 된다.

 

2. Live Server

 

Live Server - Visual Studio Marketplace

 

Live Server - Visual Studio Marketplace

Extension for Visual Studio Code - Launch a development local Server with live reload feature for static & dynamic pages

marketplace.visualstudio.com

- 바로바로 새로고침 되는 서버를 열어주는 vscode extension

 

3.

같은 줄 여러개 만들때 단축키 

(li>a)*5 만들고 tab키 누른다. 

<li><a href=""></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
 
 
4. html tag
 
div만 사용하지말고 nav ul등 의미있는 태그를 사용해보자. 

5. google font

Source Sans Pro - Google Fonts

 

Google Fonts

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

fonts.google.com

html 안에 link를 삽입하고 바로 CSS에서 적용가능하다. 

CSS 적용법도 안내해준다. 

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

'HTML, CSS' 카테고리의 다른 글

CSS Selector  (0) 2022.03.30
[CSS] FLEXBOX외 등등 정리  (0) 2022.02.18