The HTML code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<a href="">Home</a>
<a href="">About</a>
</div>
<button type="submit">Save</button>
<table>
<tr>
<td>
June
</td>
</tr>
</table>
<table id="fred">
<tr>
<td>
June
</td>
</tr>
</table>
</body>
</html>
The CSS code
body{
margin: 0;
padding: 0;
box-sizing: border-box;
}
button{
position: relative;
margin: 50px;
background-color: skyblue;
border: 1px solid blue;
color: #fff;
border-radius: 10px;
box-shadow: 10px 3px 3px;
cursor: pointer;
}
button:hover{
background: #4cd22b;
}
.container{
box-shadow: 10px 3px 3px yellow;
display: flex;
justify-content: space-around;
margin-top: 20px;
}
a{
text-decoration: none;
}
table{
border: 1px solid black;
width: 500px;
height: 200px;
text-align: center;
}
#fred{
border: 1px solid blue;
}
The Output
Leave a comment