<h1 style=text-align:center;color:blue>생활코딩 : WEBn > WEB2 - CSS 내용 정리</h1>
이런식으로 제목에 CSS를 줄 수 있었다.
h1 { - selector(선택자)</style>
text-align : center; - declaration(선언, 효과)}
property(속성) : value(값)
color:blue
#grid {</style>
border:5px solid pink;}
display:grid;
grid-template-columns: 150px 1fr;
div {
border:5px solid gray;}
.saw {
color:gray;}
.active {
color:red;}
<div id="grid"></body>
<div>NAVIGATION</div>
<div>NAVIGATION</div>
<div>
div{</style>
border:10px solid green;}
font-size:60px;
@media(min-width:800px) { - if (width > 800)
@media(max-width:800px) { - if (width < 800)
div{}
display:none;}
<link rel="stylesheet" href="style.css"></head>