https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius
바로 border-radius 속성을 이용하면 된다.
/* The syntax of the first radius allows one to four values */
/* Radius is set for all 4 sides */
border-radius: 10px;
/* top-left-and-bottom-right | top-right-and-bottom-left */
border-radius: 10px 5%;
/* top-left | top-right-and-bottom-left | bottom-right */
border-radius: 2px 4px 2px;
/* top-left | top-right | bottom-right | bottom-left */
border-radius: 1px 0 3px 4px;
/* The syntax of the second radius allows one to four values */
/* (first radius values) / radius */
border-radius: 10px / 20px;
/* (first radius values) / top-left-and-bottom-right | top-right-and-bottom-left */
border-radius: 10px 5% / 20px 30px;
/* (first radius values) / top-left | top-right-and-bottom-left | bottom-right */
border-radius: 10px 5px 2em / 20px 25px 30%;
/* (first radius values) / top-left | top-right | bottom-right | bottom-left */
border-radius: 10px 5% / 20px 25em 30px 35em;
/* Global values */
border-radius: inherit;
border-radius: initial;
border-radius: unset;
그림자의 경우는 위에 사이트에서 원하는 테마를 조정한다음
CSS 코드를 복붙해넣으면 된다.
https://html-css-js.com/css/generator/box-shadow/
'WEB > CSS' 카테고리의 다른 글
CSS 배경색 그라데이션 넣는 속성 (0) | 2021.06.14 |
---|