Answers for "radius html"

CSS
47

css rounded corners

/* Set rounded corners with border-radius property */

.class {
  border-radius: 4px;
}

.circle {
  border-radius: 50%;
}
Posted by: Guest on February-15-2020
4

border radius css

/* Radius is set for all 4 sides */
border-radius: 10px;

/* top-left-and-bottom-right | top-right-and-bottom-left */
border-radius: 10px 5%;

/* top-left | top-right-and-bottom-left | bottom-right */
border-radius: 2px 4px 2px;

/* top-left | top-right | bottom-right | bottom-left */
border-radius: 1px 0 3px 4px;

/* The syntax of the second radius allows one to four values */
/* first radius / radius */
border-radius: 10px / 20px;
/* first radius => corner point to left or right side*/
/* second radius => corner point to top or bottom side*/
/* radius => corner point to both sides*/
Posted by: Guest on February-06-2021
13

css border radius

-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
Posted by: Guest on June-26-2019
4

css rounded corners

/* Use border-radius property */

.class {
  border-radius: 5px;
}

.circle {
  border-radius: 50%;
}
Posted by: Guest on July-25-2020
5

border radius css

border-radius: 5px; /* The corners will be round */
Posted by: Guest on October-08-2020
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