Answers for "create rectangle in css"

CSS
5

how to create a shape in css

div {
	clip-path: polygon(100% 100%, 100% 100%, 100% 100%)
}
Posted by: Guest on June-27-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
0

forme rectangle css

#parallelogramme {
  width  : 100px;
  height : 0;
  border-top  : 50px solid green;
  border-left : 20px solid transparent;
  position : relative;
}
#parallelogramme:after {
  width  : 0;
  height : 0;
  content: '';
  border-bottom : 50px solid green;
  border-right  : 20px solid transparent;
  border-left   : 20px solid transparent;
  position : absolute;
  top  : -50px;
  right: -20px;
}
Posted by: Guest on July-23-2021

Browse Popular Code Answers by Language