Submit Search
Upload
Tao of CSS
•
1 like
•
1,007 views
R
robzonenet
Follow
CSS Shapes, transforms and transitions talk that I gave at Plone Conference 2016
Read less
Read more
Technology
Report
Share
Report
Share
1 of 40
Download now
Download to read offline
Recommended
響應式網頁實作坊
響應式網頁實作坊
Chih-cheng Wang
12.string and pointer
12.string and pointer
Gem WeBlog
Simple flat ui css accordion
Simple flat ui css accordion
Samsury Blog
Css3 process bar
Css3 process bar
Mirza Arslan
PYTHON PROGRAMS FOR BEGINNERS
PYTHON PROGRAMS FOR BEGINNERS
JEETPRATAPSINGH
키보드 키와 기호 이름 알아보기
키보드 키와 기호 이름 알아보기
Changwon National University
Funcion matematica
Funcion matematica
Jhonny Wladimir Peñaloza Cabello
Getting Things Done with Content Rules
Getting Things Done with Content Rules
Cristopher Ewing
Recommended
響應式網頁實作坊
響應式網頁實作坊
Chih-cheng Wang
12.string and pointer
12.string and pointer
Gem WeBlog
Simple flat ui css accordion
Simple flat ui css accordion
Samsury Blog
Css3 process bar
Css3 process bar
Mirza Arslan
PYTHON PROGRAMS FOR BEGINNERS
PYTHON PROGRAMS FOR BEGINNERS
JEETPRATAPSINGH
키보드 키와 기호 이름 알아보기
키보드 키와 기호 이름 알아보기
Changwon National University
Funcion matematica
Funcion matematica
Jhonny Wladimir Peñaloza Cabello
Getting Things Done with Content Rules
Getting Things Done with Content Rules
Cristopher Ewing
Week ThreeExpress Holidayscssstyle.csshtml{ height 100.docx
Week ThreeExpress Holidayscssstyle.csshtml{ height 100.docx
philipnelson29183
Making Links Magical Again with CSS
Making Links Magical Again with CSS
Jenn Lukas
Theme03
Theme03
Atleta De Taekwondo
cssblocks.css.b_page{ width 930px; margin 0 auto; position.docx
cssblocks.css.b_page{ width 930px; margin 0 auto; position.docx
faithxdunce63732
Theme 23
Theme 23
bellaandzendaya
Sass, Compass
Sass, Compass
Serg Diniovskiy
Learn to love CSS3 | Joomla! Day Deutschland
Learn to love CSS3 | Joomla! Day Deutschland
ThemePartner
Learn to Love CSS3 [English]
Learn to Love CSS3 [English]
ThemePartner
Yeni metin belgesi (2)
Yeni metin belgesi (2)
makarnalar
Theme02
Theme02
Atleta De Taekwondo
HTML&CSS 5 - Intermediate CSS (2/2)
HTML&CSS 5 - Intermediate CSS (2/2)
Dinis Correia
Harendra Singh,BCA Third Year
Harendra Singh,BCA Third Year
dezyneecole
Css rounded corners
Css rounded corners
AbhishekMondal42
Bloggdesign #2 - hawaa.blogg.no
Bloggdesign #2 - hawaa.blogg.no
Hannee92
Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2
cori0506
Formato encuesta
Formato encuesta
Angie Padilla
This is a test
This is a test
cmailhotos4
Css 2
Css 2
Abdel Suarez
Css
Css
Abdel Suarez
Css 3
Css 3
Abdel Suarez
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Enterprise Knowledge
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Dubai Multi Commodity Centre
More Related Content
Similar to Tao of CSS
Week ThreeExpress Holidayscssstyle.csshtml{ height 100.docx
Week ThreeExpress Holidayscssstyle.csshtml{ height 100.docx
philipnelson29183
Making Links Magical Again with CSS
Making Links Magical Again with CSS
Jenn Lukas
Theme03
Theme03
Atleta De Taekwondo
cssblocks.css.b_page{ width 930px; margin 0 auto; position.docx
cssblocks.css.b_page{ width 930px; margin 0 auto; position.docx
faithxdunce63732
Theme 23
Theme 23
bellaandzendaya
Sass, Compass
Sass, Compass
Serg Diniovskiy
Learn to love CSS3 | Joomla! Day Deutschland
Learn to love CSS3 | Joomla! Day Deutschland
ThemePartner
Learn to Love CSS3 [English]
Learn to Love CSS3 [English]
ThemePartner
Yeni metin belgesi (2)
Yeni metin belgesi (2)
makarnalar
Theme02
Theme02
Atleta De Taekwondo
HTML&CSS 5 - Intermediate CSS (2/2)
HTML&CSS 5 - Intermediate CSS (2/2)
Dinis Correia
Harendra Singh,BCA Third Year
Harendra Singh,BCA Third Year
dezyneecole
Css rounded corners
Css rounded corners
AbhishekMondal42
Bloggdesign #2 - hawaa.blogg.no
Bloggdesign #2 - hawaa.blogg.no
Hannee92
Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2
cori0506
Formato encuesta
Formato encuesta
Angie Padilla
This is a test
This is a test
cmailhotos4
Css 2
Css 2
Abdel Suarez
Css
Css
Abdel Suarez
Css 3
Css 3
Abdel Suarez
Similar to Tao of CSS
(20)
Week ThreeExpress Holidayscssstyle.csshtml{ height 100.docx
Week ThreeExpress Holidayscssstyle.csshtml{ height 100.docx
Making Links Magical Again with CSS
Making Links Magical Again with CSS
Theme03
Theme03
cssblocks.css.b_page{ width 930px; margin 0 auto; position.docx
cssblocks.css.b_page{ width 930px; margin 0 auto; position.docx
Theme 23
Theme 23
Sass, Compass
Sass, Compass
Learn to love CSS3 | Joomla! Day Deutschland
Learn to love CSS3 | Joomla! Day Deutschland
Learn to Love CSS3 [English]
Learn to Love CSS3 [English]
Yeni metin belgesi (2)
Yeni metin belgesi (2)
Theme02
Theme02
HTML&CSS 5 - Intermediate CSS (2/2)
HTML&CSS 5 - Intermediate CSS (2/2)
Harendra Singh,BCA Third Year
Harendra Singh,BCA Third Year
Css rounded corners
Css rounded corners
Bloggdesign #2 - hawaa.blogg.no
Bloggdesign #2 - hawaa.blogg.no
Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2
Formato encuesta
Formato encuesta
This is a test
This is a test
Css 2
Css 2
Css
Css
Css 3
Css 3
Recently uploaded
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Enterprise Knowledge
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Dubai Multi Commodity Centre
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
charlottematthew16
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
Lars Bell
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Pixlogix Infotech
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Miki Katsuragi
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Manik S Magar
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
Scott Keck-Warren
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Lonnie McRorey
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
null - The Open Security Community
Recently uploaded
(20)
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
Tao of CSS
1.
TAO OF CSS ROB
PORTER
2.
I LOVE CSS
WAY TOO MUCH Rob Porter
3.
BASIC CSS SHAPES ▸
Circle ▸ Square ▸ Rectangle ▸ Ovals
4.
.circle { background-color: #298BE2; width: 200px; height:
200px; border-radius: 50%; }
5.
<div class=“max-circle"> <img src="Max-fall.png"
/> </div>
6.
.square { background: #298BE2; width:
200px; height: 200px; }
7.
.rectangle { background-color: #298BE2; width:
100px; height: 200px; float: left; }
8.
.oval { width: 100px; height:
200px; background-color: #298BE2; /*border-radius: 50px / 100px;*/ border-radius: 50%; }
9.
BORDER DRAWN CSS
SHAPES ▸ Triangles ▸ Trapezoid ▸ Star
10.
.triangle-up { width: 0; height:
0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 100px solid #298BE2; } Triangles
11.
.triangle-up { width: 0; height:
0; border-left: 50px solid white; border-right: 50px solid white; border-bottom: 100px solid #298BE2; } Triangles
12.
.triangle-down { width: 0; height:
0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-top: 100px solid #298BE2; } Triangles
13.
.triangle-right { width: 0; height:
0; border-top: 50px solid transparent; border-left: 100px solid #298BE2; border-bottom: 50px solid transparent; } Triangles
14.
.triangle-left { width: 0; height:
0; border-top: 50px solid transparent; border-right: 100px solid #298BE2; border-bottom: 50px solid transparent; } Triangles
15.
.triangle-top-left { width: 0; height:
0; border-top: 100px solid #298BE2; border-right: 100px solid transparent; } Triangles
16.
.triangle-top-left { width: 0; height:
0; border-top: 100px solid #298BE2; border-right: 100px solid white; } Triangles
17.
.triangle-top-right { width: 0; height:
0; border-top: 100px solid #298BE2; border-left: 100px solid transparent; } Triangles
18.
.triangle-bottom-left { width: 0; height:
0; border-bottom: 100px solid #298BE2; border-right: 100px solid transparent; } Triangles
19.
.triangle-bottom-right { width: 0; height:
0; border-bottom: 100px solid #298BE2; border-left: 100px solid transparent; } Triangles
20.
Triangles
21.
.trapezoid { height: 0; width:
100px; border-bottom: 100px solid #298BE2; border-left: 50px solid transparent; border-right: 50px solid transparent; } Triangles
22.
.star-six { width: 0; height:
0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 100px solid #298BE2; position: relative; } Triangles .star-six:after { width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-top: 100px solid #298BE2; position: absolute; content: ""; top: 30px; left: -50px; }
23.
COOL CSS SHAPES ▸
Talk Bubble ▸ Pac-Man ▸ Yin Yang
24.
25.
.t.talkbubble { width: 120px; height:
80px; background: #298BE2; position: relative; border-radius: 10px; margin-left: 26px; padding: 1em 0em 0em 1.4em; font-size: 1.5em; font-weight: bold; } .talkbubble:before { content:""; position: absolute; right: 100%; top: 26px; width: 0; height: 0; border-top: 13px solid transparent; border-right: 26px solid #298BE2; border-bottom: 13px solid transparent; }
26.
.pacman { width: 0px; height:
0px; border-right: 60px solid transparent; border-top: 60px solid #E9E900; border-left: 60px solid #E9E900; border-bottom: 60px solid #E9E900; border-radius: 60px; }
27.
.yin-yang { /* by
Alexander Futekov */ width: 96px; height: 48px; background: #eee; border-color: #298BE2; border-style: solid; border-width: 2px 2px 50px 2px; border-radius: 100%; position: relative; } .yin-yang:before { content: ""; position: absolute; top: 50%; left: 0; background: #eee; border: 18px solid #298BE2; border-radius: 100%; width: 12px; height: 12px; } .yin-yang:after { content: ""; position: absolute; top: 50%; left: 50%; background: #298BE2; border: 18px solid #eee; border-radius:100%; width: 12px; height: 12px; }
28.
CSS TRANSFORMS ▸ Skew,
SkewX(), SkewY() ▸ Scale, ScaleX(), ScaleY() ▸ Rotate ▸ Translate
29.
30.
.rectangle2.skew { transform: skewX(20deg); margin-left:
21px; font-size: 2em; padding: 0.3em; display: inline-block; } .rectangle2.skew:hover { transform: skewX(-20deg); }
31.
.scalable .scale:hover { transform:
scale(1.2); } Triangles
32.
.heart { /* by
http://nicolasgallagher.com/ */ position: relative; width: 100px; height: 90px; } Heart .heart:before, .heart:after { position: absolute; content: ""; left: 50px; top: 0; width: 50px; height: 80px; background: red; border-radius: 50px 50px 0 0; transform: rotate(-45deg); transform-origin: 0 100%; } .heart:after { left: 0; transform: rotate(45deg); transform-origin :100% 100%; } Rotate
33.
.infinity { /* by
http://nicolasgallagher.com/ */ position: relative; width: 212px; height: 100px; } Heart .infinity:before, .infinity:after { content: ""; position: absolute; top: 0; left: 0; width: 60px; height: 60px; border: 20px solid #298BE2; border-radius: 50px 50px 0 50px; transform: rotate(-45deg); } .infinity:after { left: auto; right: 0; border-radius: 50px 50px 50px 0 transform: rotate(45deg); } Rotate
34.
.rotate .yin-yang:hover { transform:
rotate(99deg); }
35.
.translate .pacman:hover { transform:
translate(50px, 0px); border-right: 60px solid #E9E900; }
36.
CSS TRANSITIONS .example { transition:
[transition-property] [transition-duration] [transition-timing-function] [transition-delay]; }
37.
CSS TRANSITIONS .foo { transition:
background-color 0.5s linear; } .drupal { transition: all 1.5s ease-out; } .Plone { transition: all 1.5s ease-in; } http://css3.bradshawenterprises.com/transitions/
38.
CSS TRANSITIONS ease linear ease-in ease-out ease-in-out step-start step-end cubic-bezier(0, 0,
0.58, 1); http://css3.bradshawenterprises.com/transitions/
39.
Thank you! Rob Porter Email:
rob.porter@wildcardcorp.com Twitter: @robzonenet
40.
PLEASE USE THE SURVEY
APP TO SEND US FEEDBACK. HELP US IMPROVE! ploneconf.sixfeetup.com
Download now