forked from Code-Platoon-Assignments/API-Integration
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
40 lines (36 loc) · 1016 Bytes
/
Copy pathstyles.css
File metadata and controls
40 lines (36 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
body {
border: black 3px dashed;
margin: 0;
padding: 20px;
font-family: sans-serif;
display: flex;
flex-direction: column;
align-items: center;
}
img {
height: 200px;
width: 200px;
}
#duck-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 1rem;
margin-top: 20px;
width: 90%;
max-width: 800px;
}
.duck-image {
width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
input {
background-color: red; /* Sets the background color to red */
color: white; /* Sets the text color to white for readability */
padding: 15px 80px; /* Increases padding for a larger button */
font-size: 20px; /* Increases font size for bigger text */
border: none; /* Removes default button border */
border-radius: 5px; /* Rounds the corners slightly */
cursor: pointer; /* Changes cursor to pointer on hover */
}