css border properties
HTML CODE
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="style2.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Coding Discussion</h1>
<button id="btn" type="submit">submit</button>
</body>
</html>
CSS code
h1{
background-color: violet;
padding: 20px;
/* border-style: solid;
border-width: 15px;
border-color: yellow; */
border: 8px solid red;
border-radius: 100px;
}
#btn{
background-color: greenyellow;
padding: 25px;
/* font-size: 25px; */
border-radius: 25px;
}
#btn:hover{
cursor: pointer;
}
0 Comments
If you have any question , then please ask me