커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
<style> 에서 글자 색갈을 지정하였는데 반영안 됨
undefined주차
북마크
양*석
댓글
3
추천
0
조회수
9
조회수
9
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


1.code작성에서 main과 sub 글자를 white로 설정하였는데 검은색으로 나오는 이유는 무엇이 잘못 됬을까요

2.url을 카톡등에서 열었을 때 다른 과제같이 클릭하지 않고 이 화면이 이미지 화면으로 보이게 하는 방법은 뭘까요?


스파르타 즉문즉답

index2.html


</html>

<!DOCTYPE html>


<head>

    <meta property="og:title" content="양태석 - 프로필 링크" />

    <meta property="og:description" content="프로필 소개입니다" />

    <meta property="og:image" content="나의사진.png" />

    <title>양태석</title>


    <style>

        @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');


        * {

            font-family: "Pretendard", serif;

        }


        body {

            background-color: #44398a;

        }


        .profile {

            width: 100px;

            height: 100px;


            border-radius: 100%;

            border: 2px solid white;

            background-image: url('나의사진.png');


            background-position: center;

            background-size: cover;

        }


        .main {

            color: white;

            font-size: 20px;

            position: center

        }


        .sub {

            color: white;

            font-size: 14px;

            position: center

        }


        .wrap {

            width: 350px;

            margin: 30px auto 0px auto;


            display: flex;

            flex-direction: column;

            justify-content: center;

            align-items: center;

        }


        .wrap>a {

            font-size: 14px;

            font-weight: bold;

            color: #44398A;


            background-color: white;

            border-radius: 8px;


            box-shadow: 3px 3px 5px 0px black;


            width: 300px;

            height: 50px;


            display: flex;

            flex-direction: column;

            justify-content: center;

            align-items: center;


            margin-bottom: 10px;

            text-decoration: none;

        }


        .wrap>a:hover {

            background-color: #d2d2d2;

            font-size: 20px;

        }

    </style>

</head>



<body>


    <div class="wrap">

        <div class="profile"></div>

        <h1>양태석</h1>

        <p>프로필 소개입니다.</p>

        <a target="_blank" href="https://spartacodingclub.kr/">이력서</a>

        <a target="_blank" href="https://hanghae99.spartacodingclub.kr/">blog</a>

        <a target="_blank" href="https://chang.spartacodingclub.kr/">youtube</a>

        <a target="_blank" href="https://ddingdong.spartacodingclub.kr/">FanCafe</a>

        <a target="_blank" href="https://ddingdong.spartacodingclub.kr/">포트폴리오</a>

        <a target="_blank" href="https://ddingdong.spartacodingclub.kr/">즐겨찾기</a>

        <a target="_blank" href="https://ddingdong.spartacodingclub.kr/">인스타그램</a>

        <a target="_blank" href="https://ddingdong.spartacodingclub.kr/">V Live</a>

    </div>



    </html>보고 계신 화면 전체를 캡처해 주시면, 튜터님들이 빠르게 상황을 이해할 수 있어요.







취소
 공유
취소
댓글 0
댓글 알림
나의얼굴