私はこのボタンのようにデザインしたいと思っていますが、ボーダー半径の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は作るのが難しいですが、あなたはどんな形にもできます。あなたがそれを見たWebページを持っているなら、それを作るのに慣れているものを見せてください。 –