parent
7fbc50596a
commit
8edccc4db6
@ -0,0 +1,18 @@
|
||||
.card {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 10rem;
|
||||
width: 20rem;
|
||||
padding: 3em;
|
||||
border: 0.3em solid black;
|
||||
border-radius: 2em;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.item {
|
||||
margin: 1rem;
|
||||
/* height: calc(10rem - 6em);
|
||||
width: calc(20rem - 6em); */
|
||||
}
|
@ -0,0 +1,122 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>HyperSet</title>
|
||||
<link rel="stylesheet" type="text/css" href="/styles/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="/styles/card.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<svg width="200" height="400" style="position: fixed; z-index: -1">
|
||||
<defs>
|
||||
<path
|
||||
id="squiggle"
|
||||
d="m67.892902,12.746785c43.231313,-6.717223 107.352741,6.609823 121.028973,58.746408c13.676233,52.136585 -44.848649,161.467192 -45.07116,204.650732c4.566246,56.959708 83.805481,87.929227 22.329944,105.806022c-61.475536,17.876795 -126.122496,-1.855045 -143.73294,-41.933823c-17.610444,-40.07878 49.274638,-120.109409 46.14822,-188.091997c-3.126418,-67.982588 -21.873669,-70.257464 -49.613153,-80.177084c-27.739485,-9.919618 5.678801,-52.283035 48.910115,-59.000258z"
|
||||
/>
|
||||
<path
|
||||
id="oval"
|
||||
d="m11.49999,95.866646c0,-44.557076 37.442923,-81.999998 82.000002,-81.999998l12.000015,0c44.557076,0 81.999992,37.442923 81.999992,81.999998l0,206.133354c0,44.557098 -37.442917,82 -81.999992,82l-12.000015,0c-44.557079,0 -82.000002,-37.442902 -82.000002,-82l0,-206.133354z"
|
||||
/>
|
||||
<path
|
||||
id="diamond"
|
||||
d="m98.544521,10.311863l-87.830189,189.330815l88.201143,189.644391l88.942329,-190.362741l-89.313283,-188.612465z"
|
||||
/>
|
||||
<path
|
||||
id="star"
|
||||
d="m 153.53055,282.69958 -53.612735,-28.26169 -53.675199,28.1429 10.311217,-59.72213 -43.352051,-42.35147 59.985437,-8.6486 26.882141,-54.31757 26.76179,54.37694 59.9662,8.78146 -43.44577,42.25534 z"
|
||||
/>
|
||||
<pattern
|
||||
id="pattern-stripe"
|
||||
width="2"
|
||||
height="20"
|
||||
patternUnits="userSpaceOnUse"
|
||||
>
|
||||
<rect width="2" height="8" fill="#fff" />
|
||||
</pattern>
|
||||
<mask id="mask-stripe">
|
||||
<rect
|
||||
x="0"
|
||||
y="0"
|
||||
width="200"
|
||||
height="400"
|
||||
fill="url(#pattern-stripe)"
|
||||
/>
|
||||
</mask>
|
||||
</defs>
|
||||
</svg>
|
||||
|
||||
<div class="card">
|
||||
<svg class="item" height="160" width="80" viewBox="0 0 200 400">
|
||||
<use href="#squiggle" fill="#008002" mask="url(#mask-stripe)"></use>
|
||||
<use href="#squiggle" stroke="#008002" fill="none" stroke-width="18"></use>
|
||||
</svg>
|
||||
|
||||
<svg class="item" height="160" width="80" viewBox="0 0 200 400">
|
||||
<use href="#squiggle" fill="#008002" mask="url(#mask-stripe)"></use>
|
||||
<use href="#squiggle" stroke="#008002" fill="none" stroke-width="18"></use>
|
||||
</svg>
|
||||
|
||||
<svg class="item" height="160" width="80" viewBox="0 0 200 400">
|
||||
<use href="#squiggle" fill="#008002" mask="url(#mask-stripe)"></use>
|
||||
<use href="#squiggle" stroke="#008002" fill="none" stroke-width="18"></use>
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<svg class="item" height="160" width="80" viewBox="0 0 200 400">
|
||||
<use href="#star" fill="#FFA500" mask="url(#mask-stripe)"></use>
|
||||
<use href="#star" stroke="#FFA500" fill="none" stroke-width="18"></use>
|
||||
</svg>
|
||||
|
||||
<svg class="item" height="160" width="80" viewBox="0 0 200 400">
|
||||
<use href="#star" fill="#FFA500" mask="url(#mask-stripe)"></use>
|
||||
<use href="#star" stroke="#FFA500" fill="none" stroke-width="18"></use>
|
||||
</svg>
|
||||
|
||||
<svg class="item" height="160" width="80" viewBox="0 0 200 400">
|
||||
<use href="#star" fill="#FFA500" mask="url(#mask-stripe)"></use>
|
||||
<use href="#star" stroke="#FFA500" fill="none" stroke-width="18"></use>
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<svg class="item" height="160" width="80" viewBox="0 0 200 400">
|
||||
<use href="#star" fill="#FFA500" mask="url(#mask-stripe)"></use>
|
||||
<use href="#star" stroke="#FFA500" fill="none" stroke-width="18"></use>
|
||||
</svg>
|
||||
|
||||
<svg class="item" height="160" width="80" viewBox="0 0 200 400">
|
||||
<use href="#diamond" fill="#ff0101" mask="url(#mask-stripe)"></use>
|
||||
<use href="#diamond" stroke="#ff0101" fill="none" stroke-width="18"></use>
|
||||
</svg>
|
||||
|
||||
<svg class="item" height="160" width="80" viewBox="0 0 200 400">
|
||||
<use href="#oval" fill="#800080" mask="url(#mask-stripe)"></use>
|
||||
<use href="#oval" stroke="#800080" fill="none" stroke-width="18"></use>
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<svg class="item" height="160" width="80" viewBox="0 0 200 400">
|
||||
<use href="#diamond" fill="#ff0101" mask="url(#mask-stripe)"></use>
|
||||
<use href="#diamond" stroke="#ff0101" fill="none" stroke-width="18"></use>
|
||||
</svg>
|
||||
|
||||
<svg class="item" height="160" width="80" viewBox="0 0 200 400">
|
||||
<use href="#diamond" fill="#ff0101" mask="url(#mask-stripe)"></use>
|
||||
<use href="#diamond" stroke="#ff0101" fill="none" stroke-width="18"></use>
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<svg class="item" height="160" width="80" viewBox="0 0 200 400">
|
||||
<use href="#oval" fill="#800080" mask="url(#mask-stripe)"></use>
|
||||
<use href="#oval" stroke="#800080" fill="none" stroke-width="18"></use>
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in new issue