98 lines
1.5 KiB
HTML
98 lines
1.5 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en" >
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>CodePen - Plot direction</title>
|
||
|
<link rel="stylesheet" href="./style.css">
|
||
|
|
||
|
</head>
|
||
|
<body>
|
||
|
<!-- partial:index.partial.html -->
|
||
|
<main>
|
||
|
<graph>
|
||
|
<css-doodle use="var(--rule)">
|
||
|
@offset: @plot(
|
||
|
direction: auto
|
||
|
);
|
||
|
</css-doodle>
|
||
|
<pre>
|
||
|
@offset: @plot(
|
||
|
direction: auto
|
||
|
);
|
||
|
</pre>
|
||
|
</graph>
|
||
|
|
||
|
<graph>
|
||
|
<css-doodle use="var(--rule)">
|
||
|
@offset: @plot(
|
||
|
direction: reverse
|
||
|
);
|
||
|
</css-doodle>
|
||
|
<pre>
|
||
|
@offset: @plot(
|
||
|
direction: reverse
|
||
|
);
|
||
|
</pre>
|
||
|
</graph>
|
||
|
|
||
|
<graph>
|
||
|
<css-doodle use="var(--rule)">
|
||
|
@offset: @plot(
|
||
|
direction: auto 90deg;
|
||
|
);
|
||
|
</css-doodle>
|
||
|
<pre>
|
||
|
@offset: @plot(
|
||
|
direction: auto 90deg
|
||
|
);
|
||
|
</pre>
|
||
|
</graph>
|
||
|
|
||
|
|
||
|
<graph>
|
||
|
<css-doodle use="var(--rule)">
|
||
|
@offset: @plot(
|
||
|
direction: auto -90deg;
|
||
|
);
|
||
|
</css-doodle>
|
||
|
<pre>
|
||
|
@offset: @plot(
|
||
|
direction: auto -90deg
|
||
|
);
|
||
|
</pre>
|
||
|
</graph>
|
||
|
|
||
|
<graph>
|
||
|
<css-doodle use="var(--rule)">
|
||
|
@offset: @plot(
|
||
|
direction: 90deg;
|
||
|
);
|
||
|
</css-doodle>
|
||
|
<pre>
|
||
|
@offset: @plot(
|
||
|
direction: 90deg
|
||
|
);
|
||
|
</pre>
|
||
|
</graph>
|
||
|
|
||
|
<graph>
|
||
|
<css-doodle use="var(--rule)">
|
||
|
@offset: @plot(
|
||
|
r: .75;
|
||
|
direction: auto -.15turn;
|
||
|
);
|
||
|
</css-doodle>
|
||
|
<pre>
|
||
|
@offset: @plot(
|
||
|
r: .8;
|
||
|
direction: auto -.15turn
|
||
|
);
|
||
|
</pre>
|
||
|
</graph>
|
||
|
|
||
|
</main>
|
||
|
<!-- partial -->
|
||
|
<script src='https://unpkg.com/css-doodle@0.24.0/css-doodle.min.js'></script>
|
||
|
</body>
|
||
|
</html>
|