Articles


CSS selectors Positioning Public

Hard  

20min

Using CSS only (without adding additional HTML attributes), style articles so that they occupy the whole browser window and have the following properties:

Article Position Color
First Upper-left quarter Red
Second Upper-right quarter Yellow
Third Lower-left quarter Blue
Fourth Lower-right quarter Green

Note: The "CSS3 Flexible Box" layout mode and "Viewport Units (vh, vw, vmin and vmax)" are currently not supported.

HTML5, CSS3
 
 


Run OK, but 3 out of 3 test cases fail:

  •   Article color: Wrong answer
  •   Article size: Wrong answer
  •   Article position: Wrong answer