MarmellataDev
Published 2023. 5. 15. 17:55
CSS Test - 5.15 WEB/CSS 3
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            background-color: darkslategray;
        }
        #container {
            width: 800px;
            height: 900px;
            background-color: white;
            margin: 0 auto;
            padding: 20px
        }
        .dst1 {
            width: 100%;
            height: 100px;
            background-color: darkslategray;
            color: white;
            margin: 30px;
            margin-right: 30px;
            text-align: center;
        }
    </style>
</head>
<body>
    <div id="container">
        <div class="dst1">
            <h1>IT 수강생 모집</h1>
        </div>
    </div>
</body>
</html>

'WEB > CSS 3' 카테고리의 다른 글

CSS Chapter - Transform2, 트랜지션 transition  (0) 2023.05.17
CSS Chapter - 선택자  (0) 2023.05.16
CSS Chapter - Gradation  (0) 2023.05.15
CSS Chapter. - background-color  (0) 2023.05.15
CSS Test.2 - NAV bar  (0) 2023.05.15
profile

MarmellataDev

@Marmellata

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!