Giter Club home page Giter Club logo

nav's Introduction

PC 端实现功能

  1. 当用户悬停时,出现删除按钮
  2. 添加网站
  3. 删除网站
  4. 键盘导航
    1. 当用户按下的按钮和网站的字母 logo 相同时,直接进入相应网页

手机端实现功能

  1. 宽度 500px 以下自适应
    1. 没有设置 ipad
  2. 长按 2 秒后出现删除按钮
    1. 待完善,删除一个网站后,再次长按无法出现删除按钮

Parcel 的复用

  1. 添加 package.jsonnpm init -y
  2. 处理无法 build 的问题
    1. 删除了 main.js 就 OK 了
  3. 重新设置 scripts
"scripts": {
    "start": "parcel src/index.html -p 3000 --open",
    "build:parcel": "parcel build ./src/index.html --public-url ./ --no-source-maps",
    "build": "npm run clean && npm run build:parcel",
    "clean": "rm -rf dist/*"
  }

nav's People

Contributors

lixianlai-2 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.