Skip to content

Instantly share code, notes, and snippets.

@nemerovchenko
Created January 30, 2016 21:33
Show Gist options
  • Save nemerovchenko/d06aec846cdfa691c4f0 to your computer and use it in GitHub Desktop.
Save nemerovchenko/d06aec846cdfa691c4f0 to your computer and use it in GitHub Desktop.

Revisions

  1. nemerovchenko created this gist Jan 30, 2016.
    11 changes: 11 additions & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    <!doctype html>
    <html>
    <head>
    <meta charset=utf-8>
    <title>horse</title>
    <link href='http://fonts.googleapis.com/css?family=Spirax' rel='stylesheet' type='text/css'>
    </head>
    <body>
    <h1>Sallie Gardner at a Gallop</h1>
    </body>
    </html>
    19 changes: 19 additions & 0 deletions style.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    html {
    background: url(http://upload.wikimedia.org/wikipedia/commons/d/dd/Muybridge_race_horse_animated.gif) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%;
    }
    body {
    height: 100%;
    }

    h1 {
    font-family: 'Spirax', cursive;
    font-size: 1.8em;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
    filter: alpha(opacity=20);
    opacity: 0.2;
    }