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 2fec55d commit e5f326fCopy full SHA for e5f326f
examples/components/ParallaxExample/ParallaExample.scss
@@ -26,4 +26,13 @@
26
background-color: #fff;
27
border: none;
28
}
29
+
30
+ .visually-hidden {
31
+ position: absolute;
32
+ top: 0;
33
+ left: 0;
34
+ height: 0;
35
+ width: 0;
36
+ overflow: hidden;
37
+ }
38
examples/components/ParallaxExample/ParallaxExample.js
@@ -25,9 +25,12 @@ export default class ParallaxExample extends Component {
25
<Marquee />
<Overlap />
<TriangleGrid />
-
- <Svg svg={noisePattern} />
- <Svg svg={dotPattern} />
+ {/** Shared SVG patterns */}
+ <div className="visually-hidden">
+ <Svg svg={noisePattern} />
+ <Svg svg={dotPattern} />
+ </div>
</div>
);
0 commit comments