Testing your skills in placing html elements.
git clone https://github.com/Artasov/rectangle-html-test
Just fill in the contents of the <div class="o">
tag(red square)
in index.html
, so that it looks like in the picture below.
Do not delete or change anything that is already in the
index.html
and style.css
, just add your code to them.
You can write new tags only inside a div
with an o
class tag.
Use only the div
tags.
Do as much as you can, it's just a test 🙄
- Just make it like the image below.
-
Do not use
justify-content
padding
-
When the width and height of the
.o
class are proportionally changed, its contents should not be distorted or change their proportions.
Do not usepx em rem vh vw...
only%
allowedmargin
padding
-
When the width and height of the
.o
class are proportionally changed, its contents should not be distorted or change their proportions.
Do not usepx em rem vh vw...
only%
allowedpadding
justify-content
align-items
position
flex