Giter VIP home page Giter VIP logo

fem-results-summary-component's Introduction

Results summary component

介紹

這是 Frontend Mentor 上名為《Results summary component 》的挑戰。藉由這個挑戰提供的 Figma 設計稿來練習切版、RWD 的能力。

線上展示

請點擊

使用技術

  • 進階:React、Tailwind CSS、TypeScript、Vite
  • 基礎:HTML、CSS、JavaScript、RWD

專案預覽圖

桌面版(1440px)

Desktop

手機版(375px)

Mobile

學習筆記

Tailwind CSS 自定義斷點

tailwind.config.js 中,我特別加入了一些自定義的斷點,像是 mobile(375px) 和 desktop(1440px)。這主要是因為 Tailwind CSS 的內建斷點(例如:sm(640px)、md(768px)、lg(1024px)、xl(1280px))並不符合我的需求。另外,這些自定義的斷點名稱也更加直觀,方便我在開發過程中使用。

linear-gradient(線性漸層)

background-image: linear-gradient(to 目標方向, 起始顏色, 結束顏色);

import 圖片

本地端可以正常顯示,但是部署到 GitHub Pages 後會無法顯示圖片,原因是路徑不正確,正確應該使用 import 的方式來引入圖片。

fem-results-summary-component's People

Contributors

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