Skip to content

Commit 11b31b4

Browse files
authored
Initial CSS width&height, size data type, px unit
1 parent ec74608 commit 11b31b4

7 files changed

Lines changed: 132 additions & 0 deletions

File tree

docs/css-3.25/data-types/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Data Types
3+
description: The data types of the CSS 3.25 specification
4+
parent: CSS 3.25
5+
---
6+
# Data Types
7+
8+
CSS data types define different types of values (including keywords and units) accepted by properties.
9+
10+
## Types
11+
12+
- [<size>](size.md)

docs/css-3.25/data-types/size.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: <size>
3+
description: CSS <size> data type
4+
parent: Data Types
5+
---
6+
# \<size>
7+
8+
A type that defines a length, size or dimension value.
9+
10+
```css
11+
\<size>
12+
12px
13+
```
14+
15+
## Units
16+
17+
- [px](../units/px.md)
18+
19+
## Support
20+
21+
| | Napture | Bussinga | YAB | WXV Core |
22+
| --------- | :----------------------: | :----------------------: | :--------------------: | :-----------------: |
23+
| supported | <span full>v1.0.0</span> | <span full>v0.0.1</span> | <span none>None</span> | <span full>1</span> |

docs/css-3.25/properties/height.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Height
3+
description: CSS height property
4+
parent: Properties
5+
---
6+
# Width
7+
8+
Defineds the vertical size of a element.
9+
10+
```css
11+
height: \<size>;
12+
height: 12px;
13+
```
14+
15+
## Syntax
16+
17+
`height: <size>;`
18+
19+
Value must be of type [\<size>](../data-types/size.md).
20+
21+
## Support
22+
23+
| | Napture | Bussinga | YAB | WXV Core |
24+
| --------- | :-------------------------: | :----------------------: | :--------------------: | :-----------------: |
25+
| supported | <span partial>v1.0.0</span> | <span full>v0.0.1</span> | <span none>None</span> | <span full>1</span> |

docs/css-3.25/properties/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Properties
3+
description: The available properties in the CSS 3.25 specification
4+
parent: CSS 3.25
5+
---
6+
# Properties
7+
8+
CSS properties that can be used to define apearence related things in the page.
9+
10+
## Properties
11+
12+
- [width](width.md)

docs/css-3.25/properties/width.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Width
3+
description: CSS width property
4+
parent: Properties
5+
---
6+
# Width
7+
8+
Defineds the horizontal size of a element.
9+
10+
```css
11+
width: \<size>;
12+
width: 12px;
13+
```
14+
15+
## Syntax
16+
17+
`width: <size>;`
18+
19+
Value must be of type [\<size>](../data-types/size.md).
20+
21+
## Support
22+
23+
| | Napture | Bussinga | YAB | WXV Core |
24+
| --------- | :-------------------------: | :----------------------: | :--------------------: | :-----------------: |
25+
| supported | <span partial>v1.0.0</span> | <span full>v0.0.1</span> | <span none>None</span> | <span full>1</span> |

docs/css-3.25/units/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Units
3+
description: The available units in the CSS 3.25 specification
4+
parent: CSS 3.25
5+
---
6+
# Units
7+
8+
CSS units that can be used by properties.
9+
10+
## Types
11+
12+
- [px](px.md)

docs/css-3.25/units/px.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Px
3+
description: CSS px unit
4+
parent: Units
5+
---
6+
# Px
7+
8+
A [\<size>](../data-types/size.md) type unit that defines a length, size or dimension value.
9+
10+
```css
11+
\<number>px
12+
12px
13+
```
14+
15+
## Syntax
16+
17+
`<number>px`
18+
19+
## Support
20+
21+
| | Napture | Bussinga | YAB | WXV Core |
22+
| --------- | :----------------------: | :----------------------: | :--------------------: | :-----------------: |
23+
| supported | <span full>v1.0.0</span> | <span full>v0.0.1</span> | <span none>None</span> | <span full>1</span> |

0 commit comments

Comments
 (0)