close

이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다.

css

button을 css로 둥글게 만들기

mysop 2021. 8. 18. 17:24
728x90
반응형

button 태그를 둥글게 만들려고

 

border-radius를 사용해서 px을 아무리 큰수를 넣어도 변하지 않는다

 

그러나 입력방법이 잘못된것을...

 

 

border-radius : 50%

 

바로 둥글게 변한다.

 

출처 : https://www.w3schools.com/howto/howto_css_round_buttons.asp

 

How To Create Round Buttons

How TO - Round Buttons Learn how to style round buttons with CSS. 2px 4px 8px 12px 50% How To Style Round Buttons Step 1) Add HTML: Example

 

 

728x90
반응형

'css' 카테고리의 다른 글

[HTML] 스크립트 없이 CSS로 툴팁 띄우기  (0) 2022.11.28
position:sticky  (0) 2021.12.09