분류
css
순수 CSS로 원 모양을 만들기
본문
HTML :
<div class="circle"></div>
CSS :
.circle {
border-radius: 50%;
width: 3rem;
height: 3rem;
background: orange;
}
- 이전글사용자 정의 스크롤바 18.06.14
- 다음글텍스트 위에 마우스를 올리면 애니메이션 밑줄 효과 18.06.14
HTML :
<div class="circle"></div>
CSS :
.circle {
border-radius: 50%;
width: 3rem;
height: 3rem;
background: orange;
}