Skip to content

Commit cd06e6c

Browse files
author
Adam Argyle
committed
page style updates
1 parent 389b76f commit cd06e6c

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

app/css/index.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ body {
2121
min-block-size: 100vh;
2222
display: flex;
2323
justify-content: space-between;
24-
gap: 2ch;
2524

2625
& > section {
2726
background: var(--brand);
@@ -32,12 +31,11 @@ body {
3231
overflow: hidden;
3332

3433
display: grid;
35-
align-content: center;
34+
place-content: center;
3635
}
3736

3837
@media (max-width: 720px) {
3938
flex-direction: column;
40-
gap: 0;
4139
}
4240
}
4341

@@ -78,7 +76,7 @@ nav {
7876
}
7977

8078
& > select {
81-
font-size: 1.5rem;
79+
font-size: 1.25rem;
8280
border: none;
8381
background: var(--white);
8482
}

app/index.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<meta name="description" content="just add water clip-path mask transitions">
1111

1212
<link rel="stylesheet" href="bundle.css">
13+
<link rel="stylesheet" href="../transition.min.css">
1314
<!-- <link rel="stylesheet" href="//unpkg.com/transition-style"> -->
1415
<script src="bundle.js" type="module" defer></script>
1516
</head>
@@ -24,10 +25,6 @@ <h1>
2425
</h1>
2526
<small>Just-add-water CSS clip-path transitions</small>
2627
</header>
27-
28-
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
29-
<path d="M36.8,-49C50.7,-40.5,67.2,-33.8,73.5,-22C79.9,-10.3,76.2,6.7,69.7,21.3C63.1,36,53.6,48.4,41.6,59.1C29.5,69.8,14.7,78.7,2.1,75.8C-10.6,72.9,-21.1,58.3,-30.4,46.7C-39.7,35.1,-47.8,26.6,-54.8,15.4C-61.8,4.1,-67.7,-9.9,-65.3,-22.5C-63,-35.1,-52.4,-46.4,-40.2,-55.5C-27.9,-64.5,-14,-71.4,-1.3,-69.7C11.4,-67.9,22.8,-57.5,36.8,-49Z" transform="translate(100 100)" />
30-
</svg>
3128
</section>
3229

3330
<nav>

0 commit comments

Comments
 (0)