/
index.html
273 lines (270 loc) · 12.8 KB
/
index.html
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<!DOCTYPE html>
<html lang="en-us" class="page-intro">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Csstetic - Semantic framework for front-end ui developers</title><!--[if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script><![endif]-->
<link href="./pages/assets/css/style.css" rel="stylesheet">
</head>
<body>
<nav class="mainbar">
<div class="mainbar-wrap">
<div class="mainbar-center">
<div class="mainbar-item"><a class="intro-link">Intro</a></div>
<div class="mainbar-item"><a class="getit-link">Download</a></div>
<div class="mainbar-item"><a href="https://github.com/dariuszsikorski/Csstetic/tree/master/dist" class="docs-link"><i class="fa fa-github" aria-hidden="true"></i> Github</a></div>
<div class="mainbar-item"><a href="./docs" class="docs-link">Docs <span class="ion-ios-arrow-thin-right icon"></span></a></div>
</div>
<div class="mainbar-right">
<div class="mainbar-item"><span><a href="https://twitter.com/antraxis"><i class="fa fa-twitter fw-text-xxl" style="color: rgba(0, 159, 255, 0.3)"></i></a></span></div>
</div>
</div>
</nav>
<section class="header">
<div class="branding">
<h1>Csstetic</h1>
<h2>Semantic framework for front-end ui developers.<br><small>Build websites & components with clear html code.</small></h2>
</div>
</section>
<section class="description">
<h3 class="hidden">Description</h3>
<div class="content">
<div class="subsection">
<p>Csstetic is a set of code snippets which joined together solve common <a href="https://en.wikipedia.org/wiki/User_interface">ui design</a> tasks. It does not "reset" or overwrite project's styling, that makes it easy to use with any existing framework or as a standalone tool. For rapid prototyping <strong>Classic</strong> <i><small>(compiled css)</small></i> version should be enough, while <strong>Semantic</strong> <i><small>(scss mixins)</small></i> require any sass compiler and results in clean <i><small>(semantic)</small></i> html code.</p>
</div>
</div>
</section>
<section class="comparison">
<div class="content">
<h3>Comparison</h3>
<div class="difference-paragraph">
<p><strong>Classic</strong> version uses simmilar syntax to other common css frameworks:</p><code>
<span class="fw-button fw-size-md fw-bg-red">button</span>
</code>
<p><strong>Semantic</strong> version moves all the styling back to scss file:</p>
<pre><code>Html:
<span>button</span>
Scss:
span {
@include fw-button;
@include fw-size-base;
@include fw-size(md);
background: fw-color(red);
}</code></pre>
</div>
<div class="comparison-table">
<div class="row">
<div class="col"></div>
<div class="col">
<p>Classic</p>
</div>
<div class="col">
<p>Semantic</p>
</div>
<div class="col">
<p>Description</p>
</div>
</div>
<div class="row">
<div class="col">
<p>Price</p>
</div>
<div class="col">
<p>Free</p>
</div>
<div class="col">
<p>Free</p>
</div>
<div class="col">
<p>Classic version is one variant of compiled Csstetic, all the goodies available through mixins and functions come with Semantic version.</p>
</div>
</div>
<div class="row">
<div class="col">
<p>File size</p>
</div>
<div class="col">
<p>50kB</p>
</div>
<div class="col">
<p>0+ kB</p>
</div>
<div class="col">
<p>50kb is the file size for csstetic.css file containing ready to use copy & paste components. Semantic version (0+ kB _csstetic.scss) adds only this code, which has been truly used in your project.</p>
</div>
</div>
<div class="row">
<div class="col">
<p>Selectors</p>
</div>
<div class="col">
<p>predefined</p>
</div>
<div class="col">
<p>custom</p>
</div>
<div class="col">
<p>Classic is better for rapid development, because of precompiled class="fw-..." selectors, while Semantic allows you to create custom selectors like class="music-player", then compiling it.</p>
</div>
</div>
<div class="row">
<div class="col">
<p>Difficulty</p>
</div>
<div class="col">
<p>easy</p>
</div>
<div class="col">
<p>medium</p>
</div>
<div class="col">
<p>In fact, both versions come with ready to copy & paste cody snippets, but since Semantic version requires using .scss files instead of .css, it has been marked as medium.</p>
</div>
</div>
<div class="row">
<div class="col">
<p>Responsiveness</p>
</div>
<div class="col">
<p>partially</p>
</div>
<div class="col">
<p>fully</p>
</div>
<div class="col">
<p>Classic version is prepared for most common use cases for each device size but advanced features such as fw-scale(...); or fw-media(tablet){...}; wouldn't be possible without goodness of scss language.</p>
</div>
</div>
<div class="row">
<div class="col">
<p>Customizable</p>
</div>
<div class="col">
<p>medium</p>
</div>
<div class="col">
<p>high</p>
</div>
<div class="col">
<p>While building layout with class="feature-1 feature-2" is quick and easy, sometimes you may need to customize the feature through options available in .scss mixins and by adding custom css properties.</p>
</div>
</div>
<div class="row">
<div class="col">
<p>Semantic html</p>
</div>
<div class="col">
<p>no</p>
</div>
<div class="col">
<p>yes</p>
</div>
<div class="col">
<p>That's where "Semantic" name comes from - all features can be packed in one html class="my-button" or even target entire <button> tag without touching the html file, leaving the code as clear as possible.</p>
</div>
</div>
<div class="row">
<div class="col">
<p>License</p>
</div>
<div class="col">
<p><a href="./license.html">MIT</a></p>
</div>
<div class="col">
<p><a href="./license.html">MIT</a></p>
</div>
<div class="col">
<p>Both versions give you as much freedom as possible in personal and commercial use.</p>
</div>
</div>
</div>
</div>
</section>
<section class="features">
<div class="content">
<h3>Features</h3>
<div class="feature-list">
<div class="feature-row">
<div class="feature">
<div class="feature-left"><span class="icon-block"><i class="ionicons ion-social-css3-outline"></i></span></div>
<div class="feature-fill">
<h4>Pure Css</h4>
<p>All features are combined in a single file, no javascript dependencies, this makes Csstetic a great basement for creating jQuery, Angular or React components.</p>
</div>
</div>
<div class="feature">
<div class="feature-right"><span class="icon-block"><i class="material-icons icon">lightbulb_outline</i></span></div>
<div class="feature-fill">
<h4>Best design patterns</h4>
<p>While most of code issues can be solved by Googling and reading StackOverflow - this will take your time. Each code snippet is a handpicked design solution. Keeping that in mind - you can focus on primary task.</p>
</div>
</div>
</div>
<div class="feature-row">
<div class="feature">
<div class="feature-left"><span class="icon-block"><i class="icon material-icons">devices</i></span></div>
<div class="feature-fill">
<h4>Cross device support</h4>
<p>Each device may come with different browser and a different screen size. Csstetic also gives support for IE9+ or Android Chrome. For smaller devices - components will change their size proportionally to screen width.</p>
</div>
</div>
<div class="feature">
<div class="feature-right"><span class="icon-block"><i class="ionicons ion-speedometer"></i> </span></div>
<div class="feature-fill">
<h4>Ultra lightweight</h4>
<p>Classic version comes with preconfigured features and weights only about 50kB, but Semantic version is truly lightweight - only the features in use will influence resulting file, this may be 10kB or even 1kB.</p>
</div>
</div>
</div>
<div class="feature-row">
<div class="feature">
<div class="feature-left"><span class="icon-block"><i class="material-icons icon">playlist_add_check</i></span>
</div>
<div class="feature-fill">
<h4>Prefixed naming</h4>
<p>Csstetic takes adventage of prefixed naming convention, adding 3 characters before each name makes it compatible with any ui framework. However you can use selectors with any <a href="http://getbem.com/introduction/">naming convention</a> through scss mixins.</p>
</div>
</div>
<div class="feature">
<div class="feature-right"><span class="icon-block"><i class="material-icons icon">code</i></span></div>
<div class="feature-fill">
<h4>Tidy html markup</h4>
<p>It's easy to end up styling project with too-many class attributes for one element, especially on prototyping stage. Html markup should stand for document's semantic structure. In semantic version you can move all visual information back to stylesheet file, that's where the name "semantic" come from.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="get" class="getit">
<div class="content">
<h3>Download</h3>
<div class="get-versions">
<div class="get-row">
<div class="get-col"><a href="./download/download-latest-css.php" class="button classic">Classic <small>(Css)</small><span class="label">free</span></a></div>
<div class="get-col"><a href="./download/download-latest-scss.php" class="button semantic">Semantic <small>(Scss)</small><span class="label">free</span></a></div>
</div>
<p class="install"><a href="./docs#installation">Getting started <span class="ion-ios-arrow-thin-right icon"></span></a><br><br><br></p>
<p class="fw-text-center fw-block fw-txt-grey-500">Packages include <strong>press kit</strong> images.</p>
</div>
</div>
</section>
<section class="footer reveal">
<h3 class="hidden">Footer</h3>
<div class="content">
<p>©<span class="current-year">2016 - current</span> Csstetic.com <span class="divider">|</span> <a class="author" href="http://prettyminimal.com/">Pretty Minimal</a> <span class="divider">|</span> <a href="http://dariuszsikorski.pl/" class="author">Dariusz Sikorski</a></p>
</div>
</section>
<script src="./pages/assets/js/plugins-dist.js" type="text/javascript"></script>
<script src="./pages/assets/js/scripts-dist.js" type="text/javascript"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-75619756-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>