CSS

CSS 기본구조,폰트

화이팅하자9 2023. 10. 11. 20:20

<style>
	h1{
    	color : red;
        }
</style>

폰트크기 : font-size

폰트두께 : font-weight

어떤 폰트를 사용 할지 : font-family

폰트의 모양이 normal 또는 italic 또는 oblique인지  : font-style

<style>
	h2{
		font-size: 50px;
        font-weight: 100;
        font-family:fantasy;
        font-style: italic;
      }
        
       p{
       		font-size: 25px;
            font-weight: bold;
            font-family:궁서 ;
        }
</style>