Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 85f3a4230a
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (37 sloc) 1.113 kB

100% height view

/* =======
   html
   |- body
      |- #container
   ======= */

html {height: 100%}
body {height: 100%}
#container {height: 100%}

@font-face 语法

font-face {
    font-family: 'MyFontFamily';
    src: url('myfont-webfont.eot?#iefix') format('embedded-opentype'),
         url('myfont-webfont.woff') format('woff'),
         url('myfont-webfont.ttf')  format('truetype'),
         url('myfont-webfont.svg#svgFontName') format('svg');
}

CSS Yellow Fade

:target // @keyframes

:target {
    -webkit-animation: target-fade 3s 1;
    -moz-animation: target-fade 3s 1;
}

@-webkit-keyframes target-fade {
    0% { background-color: rgba(0,0,0,.1); }
    100% { background-color: rgba(0,0,0,0); }
}
@-moz-keyframes target-fade {
    0% { background-color: rgba(0,0,0,.1); }
    100% { background-color: rgba(0,0,0,0); }
}
Jump to Line
Something went wrong with that request. Please try again.