मुझे सीएसएस 3 के साथ एक छोटी सी समस्या है, अर्थात् मैं एक वस्तु के साथ ऐसी वस्तु बनाउंगा। यहाँ मैं क्या हासिल करना चाहते की एक छवि है:सीएसएस 3 - राज्यों के बाद और उससे पहले गोलाकार कोनों
यहाँ है कि मैं क्या:
सीएसएस:
body{
background:grey;
padding:10px;
}
#talkbubble {
margin:0 auto;
box-shadow: 3px 10px 7px #deefe5;
width: 590px;
height: 160px;
background: white;
position: relative;
border-radius:10px;
border-bottom-left-radius:0px;
}
#talkbubble:before {
box-shadow: 10px 10px 5px #deefe5;
content:"";
position: absolute;
background:white;
top: 100%;
width: 228px;
height: 62px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
#talkbubble:after{
content:"";
position: absolute;
top:100%;
left:228px;
border-top: 10px solid white;
border-right: 10px solid transparent;
background:white;
}
एचटीएमएल:
<div id="talkbubble"></div>
मैं दो हिस्सों के बीच कोण को कैसे घुमा सकता हूं?
मुझे यकीन है कि नहीं हूँ, लेकिन यह आपकी मदद कर सकता है: http: // www .w3.org/TR/css3-background/# कोने-क्लिपिंग – Victor
आप नहीं कर सकते। करीबी सवाल –