Skip to content

Commit

Permalink
Add to the task the condition about CSS styles
Browse files Browse the repository at this point in the history
  • Loading branch information
aliceblunt8 authored Mar 25, 2021
1 parent 60c1cd8 commit 7f7e193
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ You DON'T need to implement the card now, just the stars block.
- 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 number of active (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`
- Add images in CSS, instead of using the HTML "img" or "svg" tags
- 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](./reference/stars.png)

0 comments on commit 7f7e193

Please sign in to comment.