Skip to content

Commit 2a063f2

Browse files
committed
css logo
1 parent ece8e96 commit 2a063f2

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

src/examples.js

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,47 @@ export default {
683683
}
684684
}
685685
`),
686+
687+
'css logo': read(`
688+
svg {
689+
viewbox: 0 0 10 10;
690+
691+
title {
692+
content: "CSS LOGO";
693+
}
694+
695+
/* background */
696+
path {
697+
fill: rebeccapurple;
698+
d: M 0 0 8.4 0 Q 10 0 10 1.6
699+
L 10 8.4 Q 10 10 8.4 10
700+
L 1.6 10 Q 0 10 0 8.4
701+
}
702+
703+
g {
704+
stroke: #fff;
705+
stroke-width: .75;
706+
fill: none;
707+
708+
/* C */
709+
path {
710+
d: M 4.25 6.5
711+
c 0 -1 -1.25 -1 -1.25 0
712+
l 0 1.5
713+
c 0 1 1.25 1 1.25 0
714+
}
715+
716+
/* SS */
717+
path*2 {
718+
d: M @pn(8.75, 6.5) 6.5
719+
c 0 -1 -1.25 -1 -1.25 0
720+
s 1.25 .5 1.25 1.5
721+
c 0 1 -1.25 1 -1.25 0
722+
}
723+
}
724+
}
725+
`),
726+
686727
}
687728

688729
function read(input) {

0 commit comments

Comments
 (0)