{"id":22551009,"url":"https://github.com/bccpadge/nft-preview-card-component","last_synced_at":"2025-04-10T03:21:39.549Z","repository":{"id":170097028,"uuid":"646209614","full_name":"bccpadge/nft-preview-card-component","owner":"bccpadge","description":"Frontend Mentor - NFT preview card component using HTML and CSS","archived":false,"fork":false,"pushed_at":"2024-04-24T21:42:44.000Z","size":461,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T04:36:54.940Z","etag":null,"topics":["frontend-mentor","html-css-project"],"latest_commit_sha":null,"homepage":"https://bccpadge.github.io/nft-preview-card-component/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bccpadge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-05-27T16:31:24.000Z","updated_at":"2024-12-09T07:24:52.000Z","dependencies_parsed_at":"2024-04-24T22:45:27.715Z","dependency_job_id":null,"html_url":"https://github.com/bccpadge/nft-preview-card-component","commit_stats":null,"previous_names":["bccpadge/nft-preview-card-component"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bccpadge%2Fnft-preview-card-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bccpadge%2Fnft-preview-card-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bccpadge%2Fnft-preview-card-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bccpadge%2Fnft-preview-card-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bccpadge","download_url":"https://codeload.github.com/bccpadge/nft-preview-card-component/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248148701,"owners_count":21055637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["frontend-mentor","html-css-project"],"created_at":"2024-12-07T17:09:25.699Z","updated_at":"2025-04-10T03:21:39.521Z","avatar_url":"https://github.com/bccpadge.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - NFT preview card component solution\n\nThis is a solution to the [NFT preview card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/nft-preview-card-component-SbdUL_w0U). Frontend Mentor challenges help you improve your coding skills by building realistic projects.\n\n## Table of contents\n\n- [Overview](#overview)\n  - [The challenge](#the-challenge)\n  - [Screenshot](#screenshot)\n  - [Links](#links)\n- [My process](#my-process)\n  - [Built with](#built-with)\n  - [What I learned](#what-i-learned)\n- [Useful ressources](#useful-resources)\n- [Author](#author)\n- [Acknowledgments](#Acknowledgments)\n\n## Overview\n\n### The challenge\n\nUsers should be able to:\n\n- View the optimal layout depending on their device's screen size\n- See hover states for interactive elements\n\n### Screenshot\n\n![nft preview card component](./desktop.png)\n\n### Links\n\n- Solution URL: [Frontend Mentor](https://www.frontendmentor.io/solutions/nft-preview-card-component-using-html-and-css-fvpriDTSeQ)\n- Live Site URL: [Github Pages](https://bccpadge.github.io/nft-preview-card-component/)\n\n## My process\n\n### Built with\n\n- Semantic HTML5 markup\n- CSS custom properties (variables)\n- Flexbox\n- CSS Grid\n- Mobile-first workflow\n\n### What I learned\n\nI learned how to use the after pseudo-element to add the icon view image in CSS only.\n\n```css\n.nft-banner::after {\n  --accent-clr-alt: hsla(178, 100%, 50%, 0.5);\n  content: url(\"../images/icon-view.svg\");\n  position: absolute;\n  inset: 0;\n  background-color: var(--accent-clr-alt);\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  opacity: 0;\n  transition: opacity var(--transition);\n}\n```\n\n### Useful resources\n\n- [Nested border radius](https://www.30secondsofcode.org/css/s/nested-border-radius/) - This article helped me with applying the border radius on the image.\n\n## Author\n\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://www.frontendmentor.io/profile/bccpadge\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/FrontendMentor-57b1e6?style=for-the-badge\u0026logo=frontendmentor\u0026logoColor=white\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/bccpadge\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Github-9757e6?style=for-the-badge\u0026logo=github\u0026logoColor=white\"\u003e\n \u003c/a\u003e\n  \u003ca href=\"https://www.linkedin.com/in/rebecca-padgett23\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Linkedin-004182?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Acknowledgments\n\nI used this Youtube [nft preview card component](https://www.youtube.com/watch?v=dyf3aLZ7Dyo) video tutorial.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbccpadge%2Fnft-preview-card-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbccpadge%2Fnft-preview-card-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbccpadge%2Fnft-preview-card-component/lists"}