HTML5技术

【CSS3】使用CSS3制作全屏切换效果 - Glunefish

字号+ 作者:H5之家 来源:H5之家 2017-06-09 13:03 我要评论( )

在线演示: DEMO 直接上代码: pagaToggle * body @font-face { font-family src : url('fonts/raphaelicons-webfont.eot') ,url('fonts/raphaelicons-webfont.svg') ,url('fonts/raphaelicons-webfont.ttf') ,url('fonts/raphaelicons-webfont.woff') ; fon

 

 

在线演示: DEMO

 

直接上代码:

pagaToggle * body @font-face { font-family src: url('fonts/raphaelicons-webfont.eot') , url('fonts/raphaelicons-webfont.svg') , url('fonts/raphaelicons-webfont.ttf') , url('fonts/raphaelicons-webfont.woff') ; font-weight font-style @media screen and ( max-width: 500px ) { .box .pages > section > div { width .box .pages > section > h2 } @media screen and ( max-width: 1100px ) { .box .pages > section > figure > figcaption > a > span { font-size } .box .box > input, .box > a, .box > a:after .box > input .box > a .box > a:after .box > input:nth-of-type(1),a:nth-of-type(1) .box > input:nth-of-type(2),a:nth-of-type(2) .box > input:nth-of-type(3),a:nth-of-type(3) .box > input:nth-of-type(4),a:nth-of-type(4) .box > input:nth-of-type(5),a:nth-of-type(5) .box > input:checked + a .box > input:checked + a:after .box > input:hover + a .box > input:hover + a:after .box > input:checked:hover + a .box > input:checked:hover + a:after .box > input:nth-of-type(1):checked ~ .pages .box > input:nth-of-type(2):checked ~ .pages .box > input:nth-of-type(3):checked ~ .pages .box > input:nth-of-type(4):checked ~ .pages .box > input:nth-of-type(5):checked ~ .pages .box > input:nth-of-type(1):checked ~ .pages > section:nth-of-type(1) > figure > img .box > input:nth-of-type(2):checked ~ .pages > section:nth-of-type(2) > figure > img .box > input:nth-of-type(3):checked ~ .pages > section:nth-of-type(3) > figure > img .box > input:nth-of-type(4):checked ~ .pages > section:nth-of-type(4) > figure > img .box > input:nth-of-type(5):checked ~ .pages > section:nth-of-type(5) > figure > img .box > input:nth-of-type(1):checked ~ .pages > section:nth-of-type(1) > figure > figcaption > a > span .box > input:nth-of-type(2):checked ~ .pages > section:nth-of-type(2) > figure > figcaption > a > span .box > input:nth-of-type(3):checked ~ .pages > section:nth-of-type(3) > figure > figcaption > a > span .box > input:nth-of-type(4):checked ~ .pages > section:nth-of-type(4) > figure > figcaption > a > span .box > input:nth-of-type(5):checked ~ .pages > section:nth-of-type(5) > figure > figcaption > a > span @keyframes imgfloat { from { opacity to } @keyframes textfloat { from { opacity to } .pages .pages > section .pages > section:nth-of-type(odd) .pages > section > div .pages > section:nth-of-type(odd) div .pages > section > h2 .pages > section:nth-of-type(odd) > h2 .pages > section > figure > img .pages > section > figure > figcaption > a > span .pages > section:nth-of-type(odd) > figure > figcaption > a > span Page1Page2Page3Page4Page5gTHIS IS GLUNEFISH BLOG.dTHIS IS GLUNEFISH BLOG.eTHIS IS GLUNEFISH BLOG.fTHIS IS GLUNEFISH BLOG.hTHIS IS GLUNEFISH BLOG.

 

 

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

相关文章
  • 使用React改版网站后的一些感想 - 吴海瑞博客

    使用React改版网站后的一些感想 - 吴海瑞博客

    2017-06-08 15:07

  • C#码农的大数据之路 - 使用C#编写MR作业 - hystar

    C#码农的大数据之路 - 使用C#编写MR作业 - hystar

    2017-06-08 08:00

  • 在.NET Core中使用Irony实现自己的查询语言语法解析器 - dax.net

    在.NET Core中使用Irony实现自己的查询语言语法解析器 - dax.net

    2017-06-07 18:00

  • 深入理解CSS3 Flexbox - sfhiwtytt22

    深入理解CSS3 Flexbox - sfhiwtytt22

    2017-06-02 12:02

网友点评
s