Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

NFT Preview Solution

Gabriel_BC 300

@GabrielBC2021

Desktop design screenshot for the NFT preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I've finished another challenge but i have some troubles with the hover things, I'd love anyone help me or tell me what I'm doing wrong or what I could change on my code, I'd really appreciate it.

Community feedback

@MohamedWagdy7

Posted

  • To tackle the accessibility issues. you can add a <h1> with class="sr-only" (Hidden visually, but present for assistive tech).
.sr-only {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	-webkit-clip-path: inset(50%) !important;
		clip-path: inset(50%) !important; 
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;            
}

Marked as helpful

1

Gabriel_BC 300

@GabrielBC2021

Posted

@MohamedWagdy7 Thank you so much for this helpful piece of code, I really appreciate it.

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord