CSS-only tabs implement 5 different switching corresponding content effects, csstab

Source: Internet
Author: User

CSS-only tabs implement 5 different switching corresponding content effects, csstab

 

 

A very common special effect that completes the tab with pure CSS to implement 5 different switching corresponding content Effects

Instance Preview

Instance code

 

<Div class = "main"> <ul class = "tabs"> <li> <input type = "radio" checked name = "tabs" id = "tab1"> <label for = "tab1"> tab 1 </label> <div id = "tab-content1" class = "tab-content animated fadeIn"> <a href = '#'> jQuery + jRange select the value range widget _ Drag the value range </a> <p> This article uses two examples to introduce a Range selector plug-in jRange. </P> </div> </li> <input type = "radio" checked name = "tabs" id = "tab2"> <label for = "tab2 "> tab 2 </label> <div id =" tab-content2 "class =" tab-content animated fadeIn "> <a href = '#'> using jsonp cross-origin access under jquery method </a> <p> This article describes how to use getJSON to Implement Asynchronous cross-origin submission forms. </P> </div> </li> <input type = "radio" checked name = "tabs" id = "tab3"> <label for = "tab3 "> tab 3 </label> <div id =" tab-content3 "class =" tab-content animated fadeIn "> <a href = '#'> Flowplayer simple and cool video player </a> <p> Flowplayer is a free WEB video player. It supports playing flv, swf, and other streaming media and image files. It can play video files smoothly and supports custom configurations and extensions. </P> </div> </li> </ul> </div>

  

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.