Question: here is my css file how can i make my website look better please tell me: . photo { width: 2 0 0 % ;

here is my css file how can i make my website look better please tell me:
.photo {
width: 200%;
height: 250px;
border: 7px solid black;
border-radius: 10px;
object-fit: cover;
cursor: pointer;
}
.photo:hover {
transform: scale(1.05);
box-shadow: 04px 6px grey;
}
.upload {
border: solid black 3px;
padding: 50px;
width: 300px;
height: 310px;
margin: 30px auto;
border-radius: 10%;
background-color: white;
}
#photoContainer {
display: grid;
grid-template-columns: repeat(3,1fr);
gap: 50px;
padding: 20px;
margin: 0 auto;
justify-items: center;
}
#photoContainer div button {
margin-top: 15px;
}
#photoContainer div {
display: flex;
flex-direction: column;
align-items: center;
}
#photoContainer div p {
background-color: white;
padding: 10px;
margin-top: 10px;
margin-bottom: 0;
white-space: nowrap;
border-radius: 7px;
font-size: 18px;
border: 1px solid black;
}
header {
z-index: 1000;
top: 0;
width: 97.6%;
display: flex;
position: fixed;
justify-content: space-between;
align-items: center;
background-color: #4267b2;
color: white;
padding: 20px;
box-shadow: 04px 6px grey;
margin-bottom: 20px;
}
header h2{
flex-grow: 1;
font-size: 50px;
font-weight: bold;
text-align: center;
margin: 0;
}
header a {
background-color: #365890;
font-size: 17px;
margin-right: 10px;
}
header a:hover {
background-color: #2c4877;
}
body {
padding-top: 100px;
text-align: center;
margin: 0;
color: #333;
background-color: #bfbfbf;
}
body h5{
font-size: 30px;
margin-bottom: 10px;
background-color: white;
border-radius: 7px;
padding: 15px 20px;
margin: 20px auto;
width: fit-content;
}
body h5{
font-size: 30px;
margin-bottom: 10px;
background-color: white;
border-radius: 7px;
padding: 15px 20px;
margin: 20px auto;
width: fit-content;
}
/* Style for links and buttons */
a, button {
background-color: #4267b2;
color: white;
border: 1px solid transparent;
border-radius: 5px;
padding: 12px 20px;
font-size: 16px;
cursor: pointer;
transition: all 0.3s ease; /* Smooth transition for hover and active states */
}
/* Hover state */
a:hover, button:hover {
background-color: #365890;
transform: translateY(-2px);
}
a:active, button:active {
transform: translateY(2px);
}
.main-buttons a,.main-buttons button {
margin-right: 10px;
}
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
justify-content: center;
align-items: center;
z-index: 1001;
}
.modal img {
max-width: 80%;
max-height: 80%;
}
footer {
margin-top: 20px;
padding: 4px;
background-color: #4267b2;
color: white;
text-align: center;
}
#contactSection {
display: none;
transition: max-height 0.3s ease-out;
overflow: hidden;
border: 10px;
}
#contactSection.active {
display: block;
}
form {
padding: 25px;
background-color: white;
border: 1px solid #ddd;
border-radius: 8px;
max-width: 350px;
margin: 40px auto;
box-shadow: 04px 10px rgba(0,0,0,0.1);
}
form input, form textarea {
width: 100%;
padding: 12px 15px;
margin-top: 8px;
margin-bottom: 18px;
border: 1px solid #ddd;
border-radius: 5px;
}
h3{
text-align: right;
padding-left: 20px;
padding-right: 10px;
}
#logout {
color: white;
background-color: #365890;
}
#logout:hover {
background-color: #2c4877;
}
.main-buttons {
display: flex;
gap: 10px;
position: absolute;
right: 20px;
top: 20px;
}
here is my css file how can i make my website

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!