CSSBattle 1.1: Simply Square Solution

1<div id="outer">
2 <div id="inner"></div>
3</div>
4<style>
5 body {
6 margin: 0;
7 padding: 0;
8 border: 0;
9 }
10 #outer {
11 width: 100%;
12 height: 100%;
13 background: #5d3a3a;
14 }
15 #inner {
16 width: 50%;
17 height: 66.6%;
18 background: #b5e0ba;
19 }
20</style>

Comments

Loading comments...

Tags

cssbattle

css

Apply and earn a $2,500 bonus once you're hired on your first job!

Clients from the Fortune 500 to Silicon Valley startups

Choose your own rate, get paid on time

From hourly, part-time, to full-time positions

Flexible remote working environment

A lot of open JavaScript jobs!!

Fact corner: Referred talent are 5x more likely to pass the Toptal screening process than the average applicant.

Still hesitate? Read HoningJS author's guide on dealing with Toptal interview process.

Next Post

LeetCode: Add One Row To Tree

HoningJS

Search Posts