Skip to content

Latest commit

 

History

History

clipboard-landing-page

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Clipboard landing page

Solution : Live Site URL

This is a solution to the Clipboard landing page challenge on Frontend Mentor.

Design preview for the Clipboard landing page coding challenge

The challenge

Your challenge is to build out this landing page and get it looking as close to the design as possible.

You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.

Your users should be able to:

  • View the optimal layout for the site depending on their device's screen size
  • See hover states for all interactive elements on the page

Built with

  • HTML
  • CSS
  • CSS Grid
  • CSS Flexbox

Experience, Challenges and Learning

Challenge was long but done much easier with grid. I forced myself to use a lot of general styling so not to repeat myself further along. I think it helped a lot as at the end as my CSS ended up being very short for such a long landing/home page. I also added some transitions and some extra hover effects on the buttons.

I learned a really nice way to position images in any way you want using object-position MDN Link

In this challenge, the image in the desktop view had to be cut off at the edge of the window, I used the following CSS properties to move it off the viewport as per the design specs.

.itemOne .itemOne_content_list:nth-child(2) img {
    object-fit:cover;
    object-position: -50px top;
  }

Pending tasks
  • BUG : Beyond 2200px width, the grid starts having margin on both sides and messes up the image position with object-position by floating it in the canvas instead of touching the viewport, for now added a media query to unset object-position beyond 2000px. But need to investigate why it stops touching the viewport beyond 2200px without having a max-width or any sort of margin.
  • Live solution screenshot(s)
  • Submit to frontendmentor and add Solution submitted at Frontend Mentor - Submission link