mirror of https://github.com/sveltejs/svelte
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
377 B
33 lines
377 B
5 years ago
|
<style>
|
||
|
@page vertical {
|
||
|
size: A4 portrait;
|
||
|
@top-center {
|
||
|
content: "Vertical";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@page :right {
|
||
|
@top-center {
|
||
|
content: "Preliminary edition";
|
||
|
}
|
||
|
|
||
|
@bottom-center {
|
||
|
content: counter(page);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@page :first {
|
||
|
color: green;
|
||
|
font-size: 20pt;
|
||
|
|
||
|
@top-left {
|
||
|
content: "foo";
|
||
|
color: blue;
|
||
|
}
|
||
|
|
||
|
@top-right {
|
||
|
content: "bar";
|
||
|
}
|
||
|
}
|
||
|
</style>
|