.sidebar {
width: 250px; /* Adjust width as needed */
background-color: #f0f0f0;
padding: 20px;
box-sizing: border-box;
float: left; /* or use display: inline-block; */
}
.sidebar h2 {
font-size: 1.5em;
text-align: center;
margin-bottom: 10px;
}
.sidebar ul {
list-style-type: none;
padding: 0;
}
.sidebar ul li {
margin-bottom: 10px;
}
.sidebar ul li a {
text-decoration: none;
color: #333;
font-weight: bold;
}
.sidebar ul li a:hover {
color: #666;
}
Comments
Post a Comment