- Notifications
You must be signed in to change notification settings - Fork 3.3k
/
Copy pathvariable-declaration-18.html
23 lines (23 loc) · 769 Bytes
/
variable-declaration-18.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<!DOCTYPE html>
<title>CSS Test: Test declaring a variable that consists of a comma-separated font family list with the comma coming from a variable reference.</title>
<linkrel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au">
<linkrel="help" href="http://www.w3.org/TR/css-variables-1/#syntax">
<linkrel="match" href="variable-declaration-18-ref.html">
<metaname="flags" content="ahem">
<linkrel="stylesheet" href="/fonts/ahem.css" type="text/css">
<style>
body {
font-family: serif;
}
p {
font-family: monospace;
--a: Ahem var(--b) sans-serif;
--b:,;
font-family:var(--a);
}
</style>
<p>This text must be in Ahem.</p>