Skip to content

Commit 2338f42

Browse files
committed
target intro div with class
1 parent 1784933 commit 2338f42

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

examples/components/Intro/Intro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Intro = () => (
2020
offsetYMax={50}
2121
className={style.circle}
2222
>
23-
<div />
23+
<div className={style.circleInner}/>
2424
</Parallax>
2525
<Svg
2626
className={style.hemispheres}

examples/components/Intro/Intro.scss

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@
3030
width: 70%;
3131
height: 70%;
3232
z-index: 1;
33-
34-
div {
35-
position: absolute;
36-
top: 0;
37-
left: 0;
38-
width: 100%;
39-
height: 100%;
40-
border: 3px solid $plum;
41-
border-radius: 50%;
42-
}
33+
}
34+
35+
:local(.circleInner) {
36+
position: absolute;
37+
top: 0;
38+
left: 0;
39+
width: 100%;
40+
height: 100%;
41+
border: 3px solid $plum;
42+
border-radius: 50%;
4343
}
4444

4545
:local(.hemispheres) {

0 commit comments

Comments
 (0)