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

Princing component using SASS and CSS Grid

@promathieuthiry

Desktop design screenshot for the Interactive pricing component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hey this is my first time using css grid, any feedback will be great. I spent quite some time to make sure it is responsive.

Community feedback

P
hardy 3,660

@hardy333

Posted

Hey, nice solution. everything works fine. Good job.

Only thing is that background-pattern doesn't cover whole width. Looks like you missed it while codding, hope you will fix it - good luck.

Marked as helpful

3

@promathieuthiry

Posted

@hardy333 thanks for your reply. Which browser do you use? In safari indee, it doesn't cover the whole width but on firefox and chrome it works fine for me.

3
P
hardy 3,660

@hardy333

Posted

@promathieuthiry check this image here . Also as you can see slider thumb is not rendered correctly on firefox :(( To fix that you can add .input::-moz-range-thumb{...} this

2
P
hardy 3,660

@hardy333

Posted

@promathieuthiry BTW using linear-gradient for slider background was so cleaver.

3

@promathieuthiry

Posted

@hardy333 thanks. That changes quite a little bit with the others browsers.

3
P
hardy 3,660

@hardy333

Posted

@promathieuthiry @promathieuthiry So basically on webkit browsers everything works fine in terms of slider. In terms of pattern-image it doesn't covers hole width on non of the browsers, which is kine of logical.

2

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