gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 229Rust 8TOML 3CSS 1310 Definitions

⎇ e6897f82f7b6a182d27aa52964d4bcbdaef97c13 scripts/gentest/test_base_style.css CSS · 45 lines · 579 B History raw

add background colors to test cases c086b48b5 · Emil Sjölander ·

1body {
2  padding: 0;
3  margin: 0;
4}
5
6div, span, img {
7  box-sizing: border-box;
8  position: relative;
9  border: 0 solid black;
10  margin: 0;
11  padding: 0;
12  display: flex;
13}
14
15body > * {
16  position: absolute;
17}
18
19div {
20  background-color: #222;
21}
22
23div > div {
24  background-color: #444;
25}
26
27div > div > div {
28  background-color: #666;
29}
30
31div > div > div > div {
32  background-color: #888;
33}
34
35div > div > div > div > div {
36  background-color: #aaa;
37}
38
39div > div > div > div > div > div {
40  background-color: #ccc;
41}
42
43div > div > div > div > div > div > div {
44  background-color: #eee;
45}