728x90
반응형
728x90
반응형
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        p > span {
            background-color: rgb(0, 0, 189);
            line-height: 2;
            font-size: 30px;
            color: white;
            font-weight: bold;
        }

        .a1 {
            color: red;
            font-weight: bold;

        }

        .a2 {
            font-weight: bold;
        }

        div > sup {
            font-style: italic;
        }


    </style>
</head>
<body>
    <fieldset>
        <p>
            <span>탐라국 입춘굿<span>            
        </p>
            
        <div>
            제주도의 문화축제 중에서 유일하게 <span class="a1">탐라 시대부터 내려온 축제</span>이다
        </div>
        </br>

        <div>
            제주에서 입춘은 <span class="a2">새철</span><sup>(제주어, 샛절)</sup> 드는 날이라 한다.
        </div>

        <div>
            하늘의 1만 8,000 신이 지상으로 내려와 새해 일들을 시작하는 때다.
        </div>
    </fieldset>
</body>
</html>
728x90
반응형

'정보 > WEB' 카테고리의 다른 글

표 스타일2  (0) 2022.12.28
표 스타일  (0) 2022.12.28
font연습  (0) 2022.12.28
CSS형제선택자 연습  (0) 2022.12.28
CSS연습(자식선택자)  (0) 2022.12.28
728x90
반응형
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <title>폰트연습</title>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Nanum+Brush+Script&display=swap');
        @font-face {
            font-family: '빙그레체';
            src: url(BinggraeSamanco.ttf);
        }
        
        .first {
            font-family: 'Nanum Brush Script', '빙그레체';
            font-size: 16px;
        }
        .second {
            font-family: 바탕;
            font-size: 1rem;    
            font-style: italic;
            font-weight: bold;
        }
        a {
            color: black;
            text-decoration: none;
        }
        p {
            text-align: center;
            background-color: blanchedalmond;
        }
        span{
            color: rgba(0, 0, 0 0.255);
            font-size: 60px;
            line-height: 2;
            text-shadow: 20px 20px 3px red;
            letter-spacing: 10px;
            text-align: center;  
            background-color: darkgoldenrod;  
        }
    </style>
</head>
<body>
    <p>
        <span>CSS3</span><br>
    </p>
    <a href="#">이동하기버튼</a>
    <p class="first">
        Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
    </p>
    <p class="second">
        It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
    </p>
</body>
</html>
728x90
반응형

'정보 > WEB' 카테고리의 다른 글

CSS연습(자식선택자)  (0) 2022.12.28
CSS연습  (0) 2022.12.28
form활용하기  (0) 2022.12.25
HTML 날짜입력 메뉴 만들기  (0) 2022.12.25
HTML간단한 입력칸  (0) 2022.12.25
728x90
반응형
<!DOCTYPE html>
<html lang="ko">
    <head>
        <title>font</title>
            <meta charset="UTF-8">
            <style>
                div:nth-child(1) {
                    font-family: 'Black Han Sans', sans-serif;  
                    /* font-family: 서체 지정, ...*/
                    font-weight: 400;
                    /* font-weight: 글씨 굵기 설정*/
                    /* font-size: 글씨 크기(pt, px 등)*/
                    font-size: 32px;
                }
                div:nth-child(2){
                    font-family: 'Nanum Brush Script', cursive;
                }
                div:nth-child(3){
                    font-family: 'Nanum Brush Script', cursive;
                }
            </style>
            <link rel="preconnect" href="https://fonts.googleapis.com">
            <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
            <link href="https://fonts.googleapis.com/css2?family=Black+Han+Sans&display=swap" rel="stylesheet">
            <link href="https://fonts.googleapis.com/css2?family=Nanum+Brush+Script&display=swap" rel="stylesheet">
           
    </head>
    <body>
        <div>대한민국은 민주공화국이다.</div>
        <div>대한민국으 주권은 국민에게 있고, 모든 권력은 국민으로부터 나온다.</div>
        <div>去る20日、韓国のコスピ(kospi)指数が下落した。</div>
    </body>
</html>
728x90
반응형

'정보 > WEB' 카테고리의 다른 글

opacity(투명도 설정)  (0) 2022.12.24
margin(외부여백)  (0) 2022.12.24
flex  (0) 2022.12.24
filter(이미지나 요소에 효과주기)  (0) 2022.12.24
display(표시 설정)  (0) 2022.12.24

+ Recent posts

728x90
반응형
">