Skip to content

Commit

Permalink
user set underline position on single
Browse files Browse the repository at this point in the history
  • Loading branch information
wentin committed Jan 24, 2015
1 parent f3c1228 commit c68543d
Show file tree
Hide file tree
Showing 9 changed files with 66 additions and 73 deletions.
12 changes: 3 additions & 9 deletions css/animation.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/animation.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 3 additions & 12 deletions css/animation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,32 +34,23 @@

@-webkit-keyframes iconAnimation {
0% {
-webkit-transform: translateY(0px);
}
50% {
-webkit-transform: translateY(-20px);
-webkit-transform: translateY(-40px);
}
90% {
-webkit-transform: translateY(0px);
}
}
@-moz-keyframes iconAnimation {
0% {
-moz-transform: translateY(0px);
}
50% {
-moz-transform: translateY(-20px);
-moz-transform: translateY(-40px);
}
90% {
-moz-transform: translateY(0px);
}
}
@keyframes iconAnimation {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(-20px);
transform: translateY(-40px);
}
90% {
transform: translateY(0px);
Expand Down
20 changes: 7 additions & 13 deletions css/stylesheet.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/stylesheet.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions css/stylesheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ header {
display: block;
margin: 200px auto 0 auto;
position: relative;
-webkit-animation: iconAnimation 8s 0s linear infinite none;
-moz-animation: iconAnimation 8s 0s linear infinite none;
animation: iconAnimation 8s 0s linear infinite none;
-webkit-animation: iconAnimation 0.5s 0s ease-out none;
-moz-animation: iconAnimation 0.5s 0s ease-out none;
animation: iconAnimation 0.5s 0s ease-out none;
span {
position: absolute;
display: inline;
Expand All @@ -226,7 +226,7 @@ header {
left: 0;
top: 0;
background: url(../i/grid.svg) no-repeat right bottom;
opacity: 0.5;
opacity: 0;
-webkit-animation: opacityAnimation 8s 0s linear infinite none;
-moz-animation: opacityAnimation 8s 0s linear infinite none;
animation: opacityAnimation 8s 0s linear infinite none;
Expand Down
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@
<a href="#" class="icon-coffee">Buy me a coffee</a> -->
</div>
<div class="fullLogo">
<span>
<span >
underline.js
</span>
</div>
<h1>A quest to pixel-perfect underline <br>
with canvas, and music</h1>
</header>
<article>
<a href="#" class="underline" style="line-height: 1.4em; font-size: 24px">parapsychologist</a>
<a href="#" class="underline" style="line-height: 1.4em; font-size: 124px">parapsychologist</a>
<a href="#" class="underline" style="font-style: italic; line-height: 1.4em; font-size: 120px">underline.js</a>
<h2>Manifesto</h2>

<p>A javascript library that sets out to do one simple job: draw and animate the most perfect and playful text underline</p>
Expand Down
Loading

0 comments on commit c68543d

Please sign in to comment.