0.0.5-development • Published 6 years ago
@tasteink/glitch-styles v0.0.5-development
NOTE: Not ready for usage yet. Hang tight.
- Install it.
yarn add @tasteink/glitch-styles- Add the following CSS variables, tuned to your liking.
:root {
--glitch-vertical-offset-left: -0px;
--glitch-vertical-offset-right: 0px;
--glitch-left-width: -2px;
--glitch-right-width: 2px;
--glitch-color-0: #10f6be;
--glitch-color-1: #ff51ce;
--glitch-blur: 1px;
}- Import the css file from
@tastink/glitch-styles.
<link rel="stylesheet" href="/path/to/@tastink/glitch-styles.css" />- Use the provided class names.
<div class="boxGlitch">...</div>
<p class="textGlitch">...</p>- Get this kind of effect:
0.0.5-development
6 years ago
0.0.3-development
6 years ago
0.0.4-development
6 years ago
0.0.2-development
6 years ago
0.0.1-development
6 years ago
0.0.0-development
6 years ago