complete readme and improve visual instructions

This commit is contained in:
mathieu cans
2021-07-08 22:03:05 +02:00
parent 677049f5af
commit 489f2856d4
2 changed files with 17 additions and 7 deletions

View File

@@ -1,10 +1,20 @@
The objective of these exercices is to become more confortable with css manipulation. CSS KOANS KATA - FLEX
=======================
Koan 1 : The objective of these exercices is to become more confortable with css flex manipulation.
![graphical instructions](./css-koans-training.png) ![graphical instructions](./css-koans-training.svg)
1. *Start*: add a css file that make header green and content red.
2. *Flex:* use diplay flex to make content fill the entire page.
3. *Side bar:* add a 25% width left sidebar.
4. *Tab & status:* add some uniform tabs on top of content, and a status bar on bottom.
5. *Scroll:* add some items in content of 150px Height. Make content scrollable.
6. *Russian doll:* add a first div that host entire content. Keep same behaviour.
7. *Dot dot dot:* Create an item that have a long text that is overflow with ellipsis. Keep same behaviour.
Resources
---------
- [A Complete Guide to Flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/)
- [Flexbox and Truncated Text](https://css-tricks.com/flexbox-truncated-text/)
- add a css file that make header green and content red
- use diplay flex to make content fill the entire page
- add a 25% width left sidebar
- add some uniform tabs on top of content, and a status bar on bottom

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 2.2 MiB