Coder Social home page Coder Social 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)


The task

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

  • You can find star images in images folder
  • Reset browser's default margin
  • Implement 6 blocks with stars class
    • The first should have stars--0 class
    • The next 5 blocks should have an extra class stars--1, stars--2 ... stars--5 (one extra class per block)
  • Each block should have exactly 5 stars styled as in the card design
  • The number of atcive (yellow) stars should be different for all 6 blocks depending on modifier class
    • The first block (with just stars class) don't have active stars
    • The other 5 blocks have exactly N fisrt stars active where N is a numbers in an additional css class (modifier) stars--N
  • Each star in a block should have a class stars__star and no extra classes or inline styles
    • The star size is fixed (see in the design)
    • The distance between the stars is also fixed
    • Use display: flex for the stars block to avoid an issue with extra spaces between individual stars

Stars

layout_stars's People

Contributors

yuriiholiuk avatar mgrinko avatar vladimir-beliy avatar danheim avatar solaryasha avatar casualjackie avatar irenhh 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.