이 버튼처럼 디자인하고 싶습니다. 테두리 반경으로 50 %를 만들었지 만이 그림에서와 같이 하단 부분을 어떻게 확장 할 수 있습니까? css3에서이 버튼을 어떻게 디자인합니까?
.list{
height: 280px;
width: 220px;
position: relative;
background: gray;
border-bottom: 3px solid darkblue
}
#open{
position: absolute;
left: 50%;
bottom: 0;
width: 50px;
margin-left: -22px;
height: 50px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
background: darkblue;
color: white;
}
button{
border: none;
background: transparent;
outline: none;
cursor: pointer;
}
<div class='list'>
<button id='open'>+</button>
</div>
bF.jpg
SVG는 어떻게 사용합니까? –
나는 Css3에 의해 전후에 만들어 졌다고 생각했다 : D SVG로 만드는 것이 동쪽인가? :) –
Svg는 만들기가 어렵지만 어떤 모양이든 만들 수 있습니다. 웹 페이지가 있다면 여기에 넣은 것을 보면서 무엇을 만드는지 보도록하겠습니다. –