Skip to content

Commit c5230e1

Browse files
authored
Update styles.css
1 parent f67adfd commit c5230e1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

4-layout/25-art-gallery/solution/styles.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626

2727
#gallery-header > p {
2828
font-weight: 800;
29-
display: inline; /* Make the paragraph inline */
29+
display: inline;
3030
}
3131

3232
/* Add code here */
3333

3434
#gallery-container {
35-
display: inline-block; /* Make the container an inline-block */
36-
position: absolute; /* Use absolute positioning */
35+
display: inline-block;
36+
position: absolute;
3737
top: 10px;
3838
left: 50px;
3939
z-index: 10;
@@ -54,11 +54,11 @@
5454
z-index: 10;
5555
top: 5%;
5656
left: 10%;
57-
display: inline-block; /* Add inline-block display */
57+
display: inline-block;
5858
}
5959

6060
#item-4 {
6161
position: sticky;
6262
top: 100px;
6363
}
64-
64+

0 commit comments

Comments
 (0)