카테고리 없음
웹개발종합반 1-11 나홀로 메모장의 포스팅 박스 만들기
Sally_민지
2022. 1. 10. 22:06
문제
내 답
.article{
width:300px;
margin:auto;
border-radius:10px;
font-size:30px;
padding-bottom:30px;
}
margin: auto = 가운데
답
.posting-box {
margin: 10px auto 30px auto;
width:500px;
border: 3px solid black;
border-radius: 5px;
padding: 25px;
}
css관련해서 참고할 만한 사이트
css: https://www.w3schools.com/css/css_border.asp
css 공식문서: https://developer.mozilla.org/ko/docs/Web/CSS/border
CSS Borders
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
www.w3schools.com