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
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
Transcript
25 slides
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
More Decks by Eric Ferraiuolo
See All by Eric Ferraiuolo
React.js & i18n
ericf
2
510
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
500
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
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
330
LLM 101
dalinaum
0
480
Modernizing iOS Apps
seyfoyun
0
150
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
240
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
320
Event is what happens
moro
2
4.5k
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
210
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
330
Spec-driven Development with AI
simas
PRO
0
2.3k
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
380
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
310
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
19k
The SEO identity crisis: Don't let AI make you average
varn
0
630
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
310
Color Theory Basics | Prateek | Gurzu
gurzu
1
520
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
610
How to build a perfect <img>
jonoalderson
1
6.2k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
610
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Typedesign – Prime Four
hannesfritz
42
3.2k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
560
Abbi's Birthday
coloredviolet
5
11k