Giter Club home page Giter Club logo

front-end-skills's Introduction

front-end-skills

前端开发奇淫技巧-个人前端技巧收藏夹

================

###性能优化###

UL有 10000 个LI子元素,如何将这 10000 个LI颠倒顺序? 摘自V2EX

    /* Css方式: */
    ul {transform: rotate(180deg)} 
    li {transform: rotate(180deg)}
    //Javascript方式:
    [].slice.call(nodeList).reverse(); //循环一次组成字符串插回 ul 节点

###CSS效果###

利用css3动画增强页面效果

    <div class="css_3">
        <img src="1.jpg />
    </div>
    .css_3 img {transition: all .8s ease 0s;}
    .css_3:hover img {transform: scale(1.1);} /* hover时 img放大 可以有很多效果,如改变透明度等等 */

front-end-skills's People

Contributors

firhome avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.