Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Pure
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Eric Ferraiuolo
November 21, 2013
Programming
1k
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
800
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
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
パスワード再設定メールのURLについて知っておこう
uyuki234
0
170
Next.js: The final boss of Web Performance
guaca
0
290
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
Verilogで学ぶCPU自作入門
uyuki234
8
4.2k
Railsバージョンを4倍にした話
optim
0
470
dotNET_vulnclicker_intro.pdf
deka_morita
0
150
Kotlinの15年とServer-Side Kotlin
n_takehata
1
160
最近”作らせてる” ローカルAIアプリの話
akit37
0
480
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
170
APNsからLive Activityを開始する話
yumnumm
0
170
ActionController meets Protocol Buffers
sorah
0
580
Featured
See All Featured
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
270
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Un-Boring Meetings
codingconduct
0
460
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
So, you think you're a good person
axbom
PRO
2
2.2k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
220
Claude Code のすすめ
schroneko
67
230k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
270
Thoughts on Productivity
jonyablonski
76
5.4k
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