summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-group-align/support/fake-group-align.css
blob: d1a7d1aab077cc447167209d5e7878e7e7f3f654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.group {
    inline-size: min-content;
}

.group-align-left {
    /* Only the one that matches the inline axis will apply */
    margin-bottom: auto;
    margin-right: auto;
}

.group-align-right {
    /* Only the one that matches the inline axis will apply */
    margin-top: auto;
    margin-left: auto;
}

.group-align-center {
    margin-inline: auto;
}

.group-align-start {
    margin-inline-end: auto;
}

.group-align-end {
    margin-inline-start: auto;
}