tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 231Rust 9TOML 3CSS 1345 Definiciones

⎇ df4873ec33473556892439341dbc5f9a88ed8808 test_fixtures/grid_justify_items_sized_center.html HTML · 18 líneas · 588 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="height: 120px; width: 120px; display: grid; grid-template-columns: 40px 40px 40px;grid-template-rows: 40px 40px 40px;justify-items: center;">
13  <div style="width: 20px;height: 20px;grid-row: 1;grid-column: 1;"></div>
14  <div style="width: 60px;height: 60px;grid-row: 3;grid-column: 3;"></div>
15</div>
16
17</body>
18</html>