Skip to content

Commit 2643d8f

Browse files
committed
Browser Prefixes
1 parent 35d8d94 commit 2643d8f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

styles.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/*
2-
text-shadow
3-
box-shadow
2+
Browser Prefixes
43
*/
54

65
/* text-shadow: x-axis y-axis blur color */
@@ -18,8 +17,11 @@ h1 {
1817
transition: all 2s linear;
1918
}
2019

20+
/* browser prefixes - used as a way by browser to support the latest CSS3 */
2121
.box:hover {
22+
/* for mozilla */
2223
-moz-box-shadow: 51px 54px 22px 16px rgba(0, 250, 71, 0.75);
24+
/* for safari */
2325
-webkit-box-shadow: 51px 54px 22px 16px rgba(0, 250, 71, 0.75);
2426
box-shadow: 51px 54px 22px 16px rgba(0, 250, 71, 0.75);
2527
}

0 commit comments

Comments
 (0)