Skip to content

Commit 63f712e

Browse files
committed
centered title and description using CSS
1 parent c6e8c74 commit 63f712e

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

Wireframe/style.css

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
1-
/* Here are some starter styles
2-
You can edit these or replace them entirely
3-
It's showing you a common way to organise CSS
4-
And includes solutions to common problems
5-
As well as useful links to learn more */
6-
7-
/* ====== Design Palette ======
8-
This is our "design palette".
9-
It sets out the colours, fonts, styles etc to be used in this design
10-
At work, a designer will give these to you based on the corporate brand, but while you are learning
11-
You can design it yourself if you like
12-
Inspect the starter design with Devtools
13-
Click on the colour swatches to see what is happening
14-
I've put some useful CSS you won't have learned yet
15-
For you to explore and play with if you are interested
16-
https://web.dev/articles/min-max-clamp
17-
https://scrimba.com/learn-css-variables-c026
18-
====== Design Palette ====== */
1+
header {
2+
text-align: center;
3+
}
194
:root {
205
--paper: oklch(7 0 0);
216
--ink: color-mix(in oklab, var(--color) 5%, black);

0 commit comments

Comments
 (0)