작성자 : 박성희
작성일 : 2015-10-28
css 레퍼런스 설명:
사각형 각 모서리 둥글게 만드는 속성, 4개 모서리의 축약 속성, border-radius로 선언하면 4개의 모서리가 동일하게 적용됨. 예제 : http://www.w3schools.com/cssref/tryit.asp?filename=trycss3_border-radius
-
length : px, em 등 단위로 직접 숫자 지정
-
% : % 값으로 둥근 정도를 지정
(작성중 - 추후 업데이트 예정)
If you specify only one value for the border-radius property, this radius will be applied to all 4 corners. 하나의 value를 주려면, 이 프로터티가 4개 모두에 적용된다. However, you can specify each corner separately if you wish. Here are the rules: 그러나, 4군데의 코너에 각기 다른 value값을 줄 수 있다.
1.Four values: first value applies to top-left, second value applies to top-right, third value applies to bottom-right, and fourth value applies to bottom-left corner 4개 : 좌측 상단, 우측 상단, 좌측 하단, 좌측 하단
2.Three values: first value applies to top-left, second value applies to top-right and bottom-left, and third value applies to bottom-right 3개 : 좌측 상단, 우측 상단, 우측 하단
3.Two values: first value applies to top-left and bottom-right corner, and the second value applies to top-right and bottom-left corner 2개 : 좌측 상단, 우측 하단 / 우측 상단 4.One value: all four corners are rounded equally
http://www.w3schools.com/css/tryit.asp?filename=trycss3_border-radius2
- align-content
- align-items
- align-self
- @keyframes
- animation
- backface-visibility
- background-clip
- background-origin
- background-size
- border-bottom-left-radius
- border-bottom-right-radius
- border-image
- border-image-outset
- border-image-repeat
- border-image-slice
- border-image-source
- border-image-width
- border-radius
- border-top-left-radius
- border-top-right-radius
- box-shadow
- box-sizing
- column-count
- column-gap
- column-rule
- column-rule-color
- column-rule-style
- column-rule-width
- column-span
- column-width
- columns
- flex
- flex-basis
- flex-direction
- flex-flow
- flex-grow
- flex-shrink
- flex-wrap
- @font-face
- font-feature-settings
- hyphens
- justify-content
- opacity
- order
- outline-offset
- overflow-wrap
- overflow-x
- overflow-y
- perspective
- perspective-origin
- resize
- tab-size
- text-align-last
- text-overflow
- text-shadow
- transform
- transform-origin
- transform-style
- transition
- transition-delay
- transition-duration
- transition-property
- transition-timing-function
- word-break
- word-wrap