Clever use of CSS files April Fool's Day spoof (turn)

Source: Internet
Author: User

Tomorrow is the April 1 April Fool's Day, that is, the moderate joke, the whole tricky days. If you want to make a geek joke with a friend or colleague who wants to surf the internet, try this foreign netizen Wes Bos shared CSS file.

First, open the browser's custom.css file

This article takes Chrome as an example (effective immediately after CSS modification), enters a colleague or friend's computer and opens the Custom.css file as follows

    • Mac:~/library/application Support/google/chrome/default/user Stylesheets/custom.css
    • Windows XP: System disk: \documents and Settings\ user name \local Settings\Application Data\google\chrome\user Data\default\user Stylesheets\custom.css (similar to other Windows systems, find "app data" in your personal account AppData ... )
    • Ubuntu (Chromium): ~/.config/chromium/default/user stylesheets/custom.css
Second, add the corresponding CSS code in the Custom.css file

  1. Page Upside down

/* Turn every website upside down*/body {-webkit-transform:rotate (180deg);}

  2. Web page rotation

/* Spin every website*/body {/*-webkit-animation:spin 5s linear infinite;*/}

  3. All images on the page are upside down

/* Flip All images upside down*/img {/*-webkit-transform:rotate (180deg); */}

  4. All the images on the web are rotated

/*spin all images*/img {/*-webkit-animation:spin 1s linear infinite;*/}

  5. The Web page fell to the ground (please use the content more than a multi-screen test page)

/*make every website fall over!*//*html, body {height:100%;}  HTML {-webkit-perspective:1000;} Body {-webkit-transform-origin:bottom Center;-webkit-transform:rotatex ( -90deg);-webkit-animation:fall 1.5s ease-in ;} */

Clever use of CSS files April Fool's Day spoof (turn)

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.