Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Pure
Search
Eric Ferraiuolo
November 21, 2013
Programming
990
7
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Pure
Eric Ferraiuolo
November 21, 2013
More Decks by Eric Ferraiuolo
See All by Eric Ferraiuolo
React.js & i18n
ericf
2
500
Node on the Road
ericf
1
140
YUI and The Future
ericf
2
790
YUI 3.10.0 — Go Fast
ericf
3
620
YUI, Open Source, and Community
ericf
0
490
Advocatus Diaboli – Throne of JS
ericf
8
16k
Y.App: Coordinating URL Navigation, Routing, and Managing Views
ericf
10
2.2k
Other Decks in Programming
See All in Programming
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
460
Deep dive into the select statement (GopherCon UK)
jespino
0
150
Dockerfile CMD for Node.js
grazie1999
0
140
Oxlintはいいぞ(続)
yug1224
1
480
30年振りにコンパイラの定数整数除算を改善した
herumi
9
4.3k
MySQLとPostgreSQLって何が違うの?
akagami
0
150
AI Readyの正体はデータマネジメントだ メダリオン2.0の最前線
freee
PRO
0
430
初めての模倣学習とVLA
natsutan
0
320
【デモ】Kiroで体験する仕様駆動開発|設計からコーディングまでAIと進める開発フロー
cmkudo
0
510
Hello, Hiroshima Geospatial Data! — Exploring DoboX with Python
ra0kley
0
110
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
220
リアルな遅延を測る仕様
kota_yata
1
130
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.3k
Making the Leap to Tech Lead
cromwellryan
135
10k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
900
Facilitating Awesome Meetings
lara
57
7.1k
We Are The Robots
honzajavorek
0
310
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.5k
The Spectacular Lies of Maps
axbom
PRO
1
950
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
260
Bash Introduction
62gerente
615
220k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
AI: The stuff that nobody shows you
jnunemaker
PRO
9
950
Transcript
Pure @ericf Yahoo purecss.io
None
Pure 4.4KB
CSS Only NORMALIZE.CSS
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.3.0/pure-min.css"> $ bower install pure OR
Common & Hard PROBLEMS
Base Grids Forms Menus Tables Buttons
<button class="pure-button"> Buy now </button> index.html Buy now
.pure-button { display: inline-block; *display: inline; zoom: 1; line-height: normal;
white-space: nowrap; vertical-align: baseline; text-align: center; cursor: pointer; font-family: inherit; font-size: 100%; *font-size: 90%; *overflow: visible; padding: 0.5em; background-color: #E6E6E6; color: #444; color: rgba(0, 0, 0, 0.80); *color: #444; border: 1px solid #999; border: none rgba(0, 0, 0, 0); border-radius: 2px; text-decoration: none; -webkit-user-drag: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .pure-button { color: #fff; background-color: #70bf41; } app.css pure-button.css
.pure-button { color: #fff; background-color: #70bf41; } app.css Buy now
Pure & Sass OR ANY PREPROCESSOR
<button class="pure-button"> Buy now </button> index.html Buy now
<button> Buy now </button> index.html Buy now
@import "pure"; ! button { @extend .pure-button; color: #fff; background-color:
#70bf41; } app.scss Buy now
Responsive Design
2 PROBLEMS
@media screen and (min-width: 48em) { ... }
@media screen and (min-width: 48em) { ... } 1. CAN’T
OVERRIDE
2. IE < 9
Pure & Tooling DEVELOPER WORKFLOW
REWORK
REWORK REWORK PLUGINS GRUNT PLUGINS WEB UI YEOMAN
var rework = require('rework'), pureGrids = require('rework-pure-grids'); ! var css
= rework('') .use(pureGrids.units(10)) .toString(); rework-pure-grids
None
Let’s Discuss @ericf Yahoo purecss.io