https://github.com/devmor-j/fm-stats-preview-card-component
https://github.com/devmor-j/fm-stats-preview-card-component
tailwindcss
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/devmor-j/fm-stats-preview-card-component
- Owner: devmor-j
- Created: 2022-04-01T02:04:02.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-01T19:49:52.000Z (about 4 years ago)
- Last Synced: 2025-01-11T03:19:18.893Z (over 1 year ago)
- Topics: tailwindcss
- Language: HTML
- Homepage: https://devmor-j.github.io/fm-stats-preview-card-component/
- Size: 327 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend Mentor - Stats preview card component solution
This is a solution to the [Stats preview card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/stats-preview-card-component-8JqbgoU62). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
## Table of contents
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Author](#author)
## Overview
### The challenge
Users should be able to:
- View the optimal layout depending on their device's screen size
### Screenshot
Desktop:

Mobile:

### Links
- Solution URL: [Github Repo](https://github.com/devmor-j/fm-stats-preview-card-component)
- Live Site URL: [Github Pages](https://devmor-j.github.io/fm-stats-preview-card-component/)
## My process
Even though this project does not need all these dependencies, I thought maybe this could be a good template for continued develompent or copy for other challanges. Feel free to use in your project. Good starting point using vite, postcss, tailwindcss, autoprefixer and cssnano (advanced-preset).
### Built with
- Semantic HTML5 markup
- Flexbox
- Mobile-first workflow
- Multiple breakpoint design
- [Vite](https://vitejs.dev/) - Build and development tool
- [TailwindCSS](https://tailwindcss.com/) - Main framework for CSS styling
- [PostCSS](https://postcss.org/) - Post process styles
- [CSSNano](https://cssnano.co/) - Minify styles in postcss
- [Autoprefixer](https://autoprefixer.github.io/) - Add vendor prefixes in postcss
### What I learned
If adding `flex-1` makes things complex, try dividing width like `w-1/2` (tailwind classes).
## Author
- Frontend Mentor - [@devmor-j](https://www.frontendmentor.io/profile/devmor-j)