Ticker

6/recent/ticker-posts

Header Ads Widget

Responsive Advertisement

css border properties (source code)

 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-colorviolet;
    padding20px;
    /* border-style: solid;
    border-width: 15px;
    border-color: yellow; */
    border8px solid red;
    border-radius100px;
}
#btn{
    background-colorgreenyellow;
    padding25px;
    /* font-size: 25px; */
    border-radius25px;
}
#btn:hover{
    cursorpointer;
}



Don not copy the code. Learn and apply - sagnik sarkar




















Post a Comment

0 Comments