테스트 사이트 - 개발 중인 베타 버전입니다

css 배경색 변경

수인천사♡ 2년 전 조회 1,917

회색 배경위에 하얀색 배경 어떻게 삽입해야 하는지 혹시 여쭤바도 괜찮을까요? position을 쓰면 요소들이 전부다 겹쳐져서 어떻게 하는지 여쭤보려고 합니다

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

2년 전

</p>

<p><!DOCTYPE html>

<html lang="en">

    <head>

        <meta charset="UTF-8" />

        <title>bg</title>

        <style>

        html, body { width: 100%; height: 100%; }

        body { background-color: rgb(67, 190, 249); }

        .depth { width: 80%; height: 80%; }

        .depth_00 { background-color: rgb(67, 170, 249); }

        .depth_01 { background-color: rgb(67, 150, 249); }

        .depth_02 { background-color: rgb(67, 130, 249); }

        </style>

    </head>

    <body>

        <div class="depth depth_00">depth_00

            <div class="depth depth_01">depth_01

                <div class="depth depth_02">depth_02

                </div>

            </div>

        </div>

    </body>

</html></p>

<p>

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

수인천사♡
2년 전
앗 답변감사합니다!!

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인