Answers for "border round css"

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
12

how to make borders rounded in css

#rcorners {
  border-radius: 25px;
}
Posted by: Guest on April-27-2020
6

How to make a round corner in CSS

#roundCornerID {
    border-radius: 30%;
    width: 200px;
    height: 150px;   
}
Posted by: Guest on August-01-2020
1

html round border

<button style="border-radius: 3rem">OK</button>
Posted by: Guest on August-13-2021
0

corner border css

<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title></title>
  <style>
  #content {
  width: max-content;
  height: fit-content;

  background:
    linear-gradient(to right, black 4px, transparent 4px) 0 0,
    linear-gradient(to right, black 4px, transparent 4px) 0 100%,
    linear-gradient(to left, black 4px, transparent 4px) 100% 0,
    linear-gradient(to left, black 4px, transparent 4px) 100% 100%,
    linear-gradient(to bottom, black 4px, transparent 4px) 0 0,
    linear-gradient(to bottom, black 4px, transparent 4px) 100% 0,
    linear-gradient(to top, black 4px, transparent 4px) 0 100%,
    linear-gradient(to top, black 4px, transparent 4px) 100% 100%;

  background-repeat: no-repeat;
  background-size: 20px 20px;
}
  </style>
  </head>
  <body>
    <div id="content">  </div>
  </body>
</html>
Posted by: Guest on November-30-2020

Browse Popular Code Answers by Language