#example1 {
border: 2px solid red;
border-radius: 25px;
}
#example2 {
border: 2px solid red;
border-radius: 50px 20px;
}
#example1 {
border: 2px solid red;
border-radius: 25px;
}
<!DOCTYPE html>
<html>
<head>
<style>
#rcorners1 {
border-radius: 25px;
background: #73AD21;
padding: 20px;
width: 200px;
height: 150px;
}
#rcorners2 {
border-radius: 25px;
border: 2px solid #73AD21;
padding: 20px;
width: 200px;
height: 150px;
}
#rcorners3 {
border-radius: 25px;
background: url(paper.gif);
background-position: left top;
background-repeat: repeat;
padding: 20px;
width: 200px;
height: 150px;
}
</style>
</head>
<body>
<h1>The border-radius Property</h1>
<p>Rounded corners for an element with a specified background color:</p>
<p id="rcorners1">Rounded corners!</p>
<p>Rounded corners for an element with a border:</p>
<p id="rcorners2">Rounded corners!</p>
<p>Rounded corners for an element with a background image:</p>
<p id="rcorners3">Rounded corners!</p>
</body>
</html>
Code Example |
---|
Css :: vertical center before css |
Css :: target button of fileinput css |
Css :: how to set unclickable checkbox using css |
Css :: clear both css |
Css :: import scss |
Css :: scss global class |
Css :: col-md-6 bootstrap |
Css :: override vuetify container width |
Css :: css span to right of div |
Css :: summation in jupyter markdown |
Css :: css transparent background behind text |
Css :: feature detect css |
Css :: details transition css |
Css :: css loader with gradient |
Css :: css transitions |
Css :: youtube no related videos embed |
Css :: image transparent |
Css :: rem in css |
Css :: Scrollbar inside a website |
Css :: CSS fluid type sizing based on viewport |
Css :: hover |
Css :: acf wysiwyg height |
Css :: tailwind simple product card |
Css :: fade div |
Css :: enable xdebug ddev |
Css :: css hex to rgb |
Css :: ionic slidesperview not working |
Css :: How to convert directory SASS/SCSS to CSS via command line? |
Css :: best css framework |
Css :: pixel css |