Giter VIP home page Giter VIP logo

163music-store's Introduction

163music-store

html+css+javascript 制作网易云音乐商城首页

项目详情

一些思考

  • banner图我采用定时器,定时更换图片src以及两侧的图片主题色,结果发现由于加载图片需要一定时间,而切换主题色几乎不耗时。出现了一定时间内(第一次加载所有图片)banner图片与主题色不一致的bug。而后我的解决方法是,同时加载所有banner图,浏览器得以缓存,再将除第一张图外的所有图片设置为display:none;
  • fixed边栏最初用top和right定位,后来调试发现浏览区大小横向改变时效果很差,于是选中间作为基准。用margin-left定位

163music-store's People

Contributors

zengtv avatar

Watchers

James Cloos 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.