첫 벨로그 작성

김동규·2023년 5월 16일
0

그동안 밀렸던 웹개발 종합반 1~2주차를 한번에 수강했습니다.

background-color: green; - 뒷 배경 녹색

        width: 300px; - 너비
        height: 200px; - 높이

        border-radius: 10px; - 둥근 모서리(값을 높일수록 둥글게 됨)
        color: white;

        text-align: center; 텍스트 정렬 위치

        padding: 30px 0px 0px 0px; 테두리와 컨텐츠 사이 여백 설정

        background-image: url('https://www.ancient- origins.net/sites/default/files/field/image/Agesilaus-II-cover.jpg'); - 뒷 배경 이미지 URL
        background-position: center; 뒷 배경 사진 위치
        background-size: cover; 뒷 배경 사진 크기 조정
profile
안녕하세요~

0개의 댓글