Answers for "css and html rectangle"

8

how to draw rectangle in html

<div style="width:500px;height:100px;border:1px solid #000;">This is a rectangle!</div>
Posted by: Guest on March-07-2020
0

forme rectangle css

.rondTriangle{
	margin:100px auto;
	width: 0;
	height: 0;
	border-left: 50px solid transparent;
	border-right: 50px solid transparent;
	border-bottom: 100px solid #000;
	position: relative;
}
.rondTriangle:after{
	content:'';
	background:#069;
	-webkit-border-radius:50px;
	-moz-border-radius:50px;
	-o-border-radius:50px;
	border-radius:50px;
	width:75px;
	height:75px;
	position: absolute;
	top:30px;
	left:-37px;
}
Posted by: Guest on July-24-2021

Browse Popular Code Answers by Language