GithubHelp home page GithubHelp logo

loopstudios-landing-page's Introduction

Frontend Mentor - Loopstudios landing page solution

This is a solution to the Loopstudios landing page challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

The challenge

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

Screenshot

Links

My process

Built with

  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Desktop-first workflow

What I learned

I decided to use this project to get a little more practice with the basics; Flexbox, CSS-Grid and responsive design. Always finding that spending so much time using react and css libraries/frameworks makes me feel like I'm relying too much on them and not really understanding or dulling my sense for the underlying tehnologies. Just a little sharpening of the basics is a necessity for me now and then. I realize I don't have some of these concepts down as much as I thought I did. I think

Tried to make a responsive grid thing based on a clip I saw on instagram. Happy with the results.

 <div class="creations__grid">
      <div class="creation c1">
        <h2 class="creation__text">
          Deep earth 
        </h2>
      </div>
      <div class="creation c2">
        <h2 class="creation__text">
          Night arcade
        </h2>
      </div>
      <div class="creation c3">
        <h2 class="creation__text">
          Soccer team VR
        </h2>
      </div>
      <div class="creation c4">
        <h2 class="creation__text">
          The grid
        </h2>
      </div>
      <div class="creation c5">
        <h2 class="creation__text">
          From up above VR
        </h2>
      </div>
      <div class="creation c6">
        <h2 class="creation__text">
          Pocket borealis
        </h2>
      </div>
      <div class="creation c7">
        <h2 class="creation__text">
          The curiosity
        </h2>
      </div>
      <div class="creation c8">
        <h2 class="creation__text">
          Make it fisheye
        </h2>
      </div>
    </div>

THE GRID CONTAINER

.creations__grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(auto,260px));
    gap: 3.5em;
}

THE CARD

.creation{
    grid-column-end: span 1;
    height: 450px;
    padding:2.25em;
    position:relative;
    display: flex;
    flex-direction: column-reverse;
}

.creation:hover{
    cursor: pointer;
}

CARD HOVER EFFECT

.creation::after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 0;
    width: 100%;
    background-color:rgba(255, 255, 255, 0.8);
    transform-origin: center;
    transition: all .3s ease-in-out;
}

.creation:hover::after{
    height:100%;
}

.creation:hover  .creation__text{
    transition: color .5s ease-out .3s;
    color: var(--colors-very-dark-gray);
}

Usefull resources

Author

loopstudios-landing-page's People

Contributors

blaqbox-prime avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.