frontend/CSS&Design
[CSS] 테두리 둥글게 border-radius
findTheValue
2021. 7. 1. 15:47
border-radius: top-left-x top-right-x bottom-right-x bottom-left-x / top-left-y top-right-y bottom-right-y bottom-left-y
테두리 왼쪽 위 오른쪽 위 오른쪽 아래, 왼쪽 아래. x -> y 값 순으로 지정 가능.
값 하나 입력하면 모두 동일, 두개입력하면 대각선. 네개입력하면 x,y값 동일한 네 귀퉁이에 적용