Giter Club home page Giter Club logo

layout_stars's Introduction

Stars block

Replace <your_account> with your Github username and copy the links to Pull Request description:

Follow this instructions


Disable Multiplayer Cursors in figma to hide other cursors (Learn how)


❗️❗️❗️ DON'T FORGET TO PROOFREAD YOUR CODE WITH CHECKLIST BEFORE SENDING YOUR PULL REQUEST❗️❗️❗️

The task

Implement the stars block used in a card and catalog. You DON'T need to implement the card now, just the stars block.

Stars


  • You can find star images in the images folder
  • Reset browser's default margin
  • Implement 6 blocks with stars class. Each block should have 5 elements inside with the class stars__star.
    • Stars should be added as centered background-images, not as "img" or "svg" tags
    • The star size and the distance should be taken from Figma
    • Use display: flex for the stars block to avoid an issue with extra spaces between individual stars
  • Add one of the next extra classes (a modifier) stars--0, stars--1, stars--2 ... stars--5 to each block
  • The block with stars--N modifier should have exactly N first stars active

--> CHECKLIST

Tips & Hints

  • Check the design again. See the difference in size between star image and its container?
  • There's no need to add vertical margins between rows of stars.
  • !!! DON'T use gap property for flex container because it does not work in tests

layout_stars's People

Contributors

mgrinko avatar yuriiholiuk avatar vladimir-beliy avatar solaryasha avatar oleksiiblezniuk avatar vinniej-2k20 avatar danheim avatar artemtopolskyi avatar aliceblunt8 avatar danylo-onishchuk avatar elena-brv avatar casualjackie avatar irenhh avatar ihor-karpyn avatar mhrynko 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.