Skip to content

Commit 4995fd2

Browse files
authored
Merge pull request #14 from Imran-imtiaz48/patch-2
Update style.css
2 parents 291880a + f120b8c commit 4995fd2

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

Source-Code/SplitLanding-Page/style.css

+3-9
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,13 @@ h1 {
5858
.split {
5959
position: absolute;
6060
width: 50%;
61-
height: 50%;
61+
height: 100%;
6262
overflow: hidden;
6363
}
6464

6565
.split.left {
6666
left: 0;
67-
background: url(./assets/ps5.webp);
68-
background-repeat: no-repeat;
69-
background-size: cover;
70-
height: 100%;
67+
background: url(./assets/ps5.webp) no-repeat center center/cover;
7168
}
7269

7370
.split.left::before {
@@ -87,10 +84,7 @@ h1 {
8784

8885
.split.right {
8986
right: 0;
90-
background: url(./assets/boxseries.jpeg);
91-
background-repeat: no-repeat;
92-
background-size: cover;
93-
height: 100%;
87+
background: url(./assets/boxseries.jpeg) no-repeat center center/cover;
9488
}
9589

9690
.split.right::before {

0 commit comments

Comments
 (0)