Answers for "border bottom radius css"

CSS
4

how to round the corners of a div outline in css

div {
  outline: auto;
  outline-style: round;
}
Posted by: Guest on September-12-2020
1

css border-radius

.my-div{
  border: 2px solid #f00;
  border-radius: 50%;
  /* Specific Radius For Specific Border Side*/
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  /* 
    ShortHand 
    **border-radius: 5px 6px 7px 8px
  	5px => for top-left-radius
    6px => for top-right-radius
    7px => for bottom-left-radius
    8px => for bottom-right-radius
    **border-radius: 10px 20px
    10px => for top-left and top-right radius
    20px => for bottom-left and bottom-right radius

  */
}
Posted by: Guest on June-14-2021
0

The border-radius Property

<!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>
Posted by: Guest on June-20-2021
0

curve bottom of square css

.round-bottom { 
  border-bottom-left-radius: 50% 150px !important;
  border-bottom-right-radius: 50% 150px !important;
  position: relative;
  overflow: hidden;
  width: 160%; 
  margin-bottom:-50px;
  left:-30%; 
  background-color:#444;
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/a/a2/Tropical_Forest_with_Monkeys_A10893.jpg'); background-position: center center;
  background-size: 42% auto;
  height:150px;
}
.container { width: 100%; height: height:100px; padding-bottom:50px; overflow:hidden;}

<div class="container"><div class="round-bottom"></div></div>
Posted by: Guest on September-02-2020

Browse Popular Code Answers by Language