forked from xz/new.css
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquickstart.html
More file actions
70 lines (51 loc) · 2.45 KB
/
quickstart.html
File metadata and controls
70 lines (51 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>new.css Quick-Start Guide</title>
<meta name="description" content="A classless CSS framework to write modern websites using only HTML.">
<meta name="keywords" content="newcss,new.css,css,xz,css framework,classless css,xz.style">
<meta property="og:title" content="new.css">
<meta property="og:description" content="A classless CSS framework to write modern websites using only HTML.">
<meta property="og:url" content="https://newcss.net">
<meta property="og:type" content="website">
<meta property="og:image" content="https://newcss.net/_assets/og.png">
<link rel="stylesheet" href="/new.min.css">
</head>
<body>
<header>
<h1>new.css Quick-Start Guide</h1>
</header>
<p>Here's how to start using new.css in under 5 minutes.</p>
<br>
<h2>1. Create an HTML document</h2>
<p>In your favorite text/code editor, create a new HTML document. It can be as simple as this-</p>
<pre>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Hello, world</h1>
</body>
</html></pre>
<br>
<h2>2. Add the new.css stylesheet</h2>
<p>Just before the end of your <code><head></code>, add this code.</p>
<pre><link rel="stylesheet" href="https://newcss.net/new.min.css"></pre>
<br>
<h2>3. Add content</h2>
<p>Here's the fun part. Write your semantic HTML and watch it turn into a modern and responsive site!</p>
<h3>3.1 - Tip</h3>
<p>Use the <code><header></code> element at the top of your <body> to create a header. Here's what it should look like-</p>
<img src="/_assets/day.png" alt="default new.css theme showing the header element" width="400px" style="border-radius: 4px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);">
<br>
<hr>
<br>
<p>Have any questions or run into an issue? I'm here to help. Feel free to open an issue on GitHub <a href="https://github.com/xz/new.css/issues">here</a>, or join the community Discord <a href="https://discord.gg/hhuuC4w">here</a>.</p>
</body>
</html>