Giter Site home page Giter Site logo

link-tree's Introduction

Link tree(模仿實作)

預覽:

CodePen URL:

  1. Link tree(模仿實作)
  2. Link tree-white(模仿實作)

GitHub:

  1. Link tree(模仿實作)

說明:

  1. 自主開發設計。
  2. 使用不同的 font-awesome 作法。
  3. 實作CSS Selectors 根據連結關鍵字套用偽類icon。
  4. 自適應連結清單 navbar。
  5. 切換黑白風格按鈕。
  6. 添加進場動畫。
  7. :is() 能減少編譯指定父元素。
  8. 實作IOS切換按鈕。

(疑問紀錄,原先想用 onload 網頁載入時就判斷是否預設 checked 來套用 class,但失敗。)

找到 :has() CSS Selectors 就不用綁定JS監聽套用class了。.top-nav:has(input[type=“checkbox”]:checked)

參考:

link-tree's People

Contributors

april808 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.