tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 494HTML 245JavaScript 8CSS 61175 Definiciones

⎇ ae87fd0283feff32a5ceffe4c77394ff6ca88d39 test_fixtures/grid_absolute_with_padding.html HTML · 37 líneas · 759 B Historia crudo

Implement CSS Grid (#205) 6fd2c6bcb · Nico Burns ·

1<!DOCTYPE html>
2<html lang="en">
3<head>
4  <script src="../scripts/gentest/test_helper.js"></script>
5  <link rel="stylesheet" type="text/css" href="../scripts/gentest/test_base_style.css">
6  <title>
7    Test description
8  </title>
9<head/>
10<body>
11
12<div id="test-root" style="display: grid; grid-template-columns: 40px 40px 40px;grid-template-rows: 40px 40px 40px;padding: 10px 20px 30px 40px">
13  <div style="
14    position: absolute;
15    z-index: 2;
16    background-color: red;
17    right: 0;
18    top: 0;
19  "></div>
20  <div style="
21    position: absolute;
22    z-index: 2;
23    background-color: red;
24    bottom: 10px;
25    left: 10px;
26  "></div>
27  <div></div>
28  <div></div>
29  <div></div>
30  <div></div>
31  <div></div>
32  <div></div>
33  <div></div>
34</div>
35
36</body>
37</html>