We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b40bad8 commit 8d1c4dbCopy full SHA for 8d1c4db
src/components/Navbar.js
@@ -47,6 +47,19 @@ const styles = {
47
backgroundColor: "rgb(245, 245, 245)",
48
transform: "translateX(-1rem) skewX(10deg)",
49
borderRadius: "25px",
50
+ zIndex: 10,
51
+ },
52
+ "&::after": {
53
+ content: '""',
54
+ position: "absolute",
55
+ width: "145%",
56
+ height: "110%",
57
+ display: "block",
58
+ top: 0,
59
+ left: 0,
60
+ backgroundColor: colors.red,
61
+ transform: "translate(-.9rem, .4rem) skew(10deg, -5deg)",
62
+ borderRadius: "25px",
63
},
64
65
};
0 commit comments