SlideShare a Scribd company logo
1 of 18
A brief look at CSS3
    techniques

        by Aaron Rodgers
       web designer @ vzaar.com
• Essential properties

• Demo website

• CSS3 within vzaar

• Useful apps, tools & cheats

• Examples and further reading
A brief look at CSS3 techniques
 - Essential properties




   Border Radius

       .block {
       -moz-border-radius: 8px;
       -webkit-border-radius: 8px;
       border-radius: 8px;
       }
A brief look at CSS3 techniques
 - Essential properties




   Box Shadow

       .block {
       -moz-box-shadow: 0 0 5px #888;
       -webkit-box-shadow: 0 0 5px #888;
       box-shadow: 0 0 5px #888;
       }
A brief look at CSS3 techniques
 - Essential properties




  Text Shadow

       h1 {
       text-shadow: 2px 2px 5px #fff;
       }
A brief look at CSS3 techniques
 - Essential properties




       Multiple Backgrounds
       body {
       background: url(images/bg1.jpg) 0 0 no-repeat,
       url(images/bg2.jpg) 50% 50% repeat;
       }

       **Remember to compensate for older browsers.
       body {
       /*FALLBACK*/
       background: url(images/bg.jpg) 0 0 no-repeat;

       /*NEWER BROWSERS*/
       background: url(images/bg1.jpg) 0 0 no-repeat, url(images/bg2.jpg) 50% 50% repeat;
       }
A brief look at CSS3 techniques
 - Essential properties




       Transition
       .block {
       background-color: rgba(255,255,255,0.6);
       transition: background-color 1s ease-in-out;
       }

       .block:hover {
       background-color: rgba(255,255,255,1);
       }
A brief look at CSS3 techniques
 - Essential properties




       Transition using Transform properties
       .block {
       -moz-transform: rotate(7deg);
       -moz-transition-duration: 1s;
       }

       .block:hover {
       -moz-transform:            rotate(354deg) scale(1.3);
       }
A brief look at CSS3 techniques
 - Essential properties




       Columns
       .footer p {
       column-count: 3;
       column-width: 200px;
       column-gap: 30px;
       column-rule-style: solid;
       column-rule-width: 1px;
       column-rule-color: #dedede;
       }
A brief look at CSS3 techniques
 - Essential properties




       @font-face (web fonts)
       @font-face {
       font:family: ‘Comic Sans’;
       src: url(fonts/comicsans.otf) format(‘otf’),
       url(fonts/comicsans.ttf) format(‘ttf’),;
       }

       h1 {
       font-family: ‘Comic Sans’;
       }
       Browser font file types
       Internet Explorer only supports EOT
       Mozilla browsers support OTF and TTF
       Safari and Opera support OTF, TTF and SVG
       Chrome supports TTF and SVG.
A brief look at CSS3 techniques
 - Essential properties




       rgba
       .block {
       background-color: rgba(255,200,150,0.5);
       }


       **Remember to add fallback for older browsers
       body {
       /*FALLBACK*/
       background-color: #ffc896;

       /*NEWER BROWSERS*/
       background-color: rgba(255,200,150,0.5);
       }
CSS3 Example Site
 http://www.aaronjamesrodgers.com/applicake/
 Includes all of the examples mentioned within this talk.
 Feel free to download the html and css from here.
A brief look at CSS3 techniques
 - CSS3 within vzaar




          http://vzaar.com/for/agencies
          An example of transitions using the transform property
A brief look at CSS3 techniques
 - CSS3 within vzaar




          http://vzaar.com/signup
          Box shadow on input:focus field (try it, Sign Up for a 30 day trial) :P
A brief look at CSS3 techniques
 - CSS3 within vzaar




          http://vzaar.com/is
          An example of added styles on hover only using the transition & transform properties
A brief look at CSS3 techniques
 - Useful apps, tools and cheats




       • Typekit
           Use the @font-face property with hundreds of fonts. Paid subscription based on the number
           of websites you use. Just place some javascript within the <head> tag.
           http://typekit.com/




       • Border Radius generator
           Not the hardest property to code, but this site gives you a live preview as well as providing
           the CSS with all browser prefixes.
           http://border-radius.com/




       • Adobe Edge
           Available from the Adobe Labs, this is a flash like program which allows you to select elements
           from your page and apply css3 effects. Timeline based UI. Still quite buggy as it’s an early version.
           http://labs.adobe.com/technologies/edge/
           http://www.youtube.com/watch?v=8FnNtX73v8k
A brief look at CSS3 techniques
 - Examples and further reading




       Silverback
       Great use of multiple backgrounds. Gives a sense of depth to the site. Resize your browser
       window to experience it.
       http://silverbackapp.com/




       For the Record
       Nice mix of HTML5 and CSS3 to showcase the guys record collection stats.
       http://www.fortherecord.simonfosterdesign.com/




       A book apart
       A book by Dan Cederholm, founder of http://simplebits.com/. Easy to digest guide of the best
       practices in CSS3 in use today.
       http://www.abookapart.com/products/css3-for-web-designers
</html>

More Related Content

What's hot

Syntactically awesome stylesheets (Sass)
Syntactically awesome stylesheets (Sass)Syntactically awesome stylesheets (Sass)
Syntactically awesome stylesheets (Sass)Tahmina Khatoon
 
HTML5와 오픈소스 기반의 Web Components 기술
HTML5와 오픈소스 기반의 Web Components 기술HTML5와 오픈소스 기반의 Web Components 기술
HTML5와 오픈소스 기반의 Web Components 기술Jeongkyu Shin
 
Sass: The Future of Stylesheets
Sass: The Future of StylesheetsSass: The Future of Stylesheets
Sass: The Future of Stylesheetschriseppstein
 
Breaking Free from Bootstrap: Custom Responsive Grids with Sass Susy
Breaking Free from Bootstrap: Custom Responsive Grids with Sass SusyBreaking Free from Bootstrap: Custom Responsive Grids with Sass Susy
Breaking Free from Bootstrap: Custom Responsive Grids with Sass SusyJames Steinbach
 
Fasten RWD Development with Sass
Fasten RWD Development with SassFasten RWD Development with Sass
Fasten RWD Development with SassSven Wolfermann
 
Adobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + FireworksAdobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + FireworksNathan Smith
 
CSS3 Takes on the World
CSS3 Takes on the WorldCSS3 Takes on the World
CSS3 Takes on the WorldJonathan Snook
 
ITNetwork - 3D na webu
ITNetwork - 3D na webuITNetwork - 3D na webu
ITNetwork - 3D na webuPavol Hejný
 
HTML5: A primer on the web's present and future
HTML5: A primer on the web's present and futureHTML5: A primer on the web's present and future
HTML5: A primer on the web's present and futureDaniel Stout
 
jQuery and Ruby Web Frameworks
jQuery and Ruby Web FrameworksjQuery and Ruby Web Frameworks
jQuery and Ruby Web FrameworksYehuda Katz
 

What's hot (20)

Syntactically awesome stylesheets (Sass)
Syntactically awesome stylesheets (Sass)Syntactically awesome stylesheets (Sass)
Syntactically awesome stylesheets (Sass)
 
Bootstrap Framework
Bootstrap Framework Bootstrap Framework
Bootstrap Framework
 
HTML5와 오픈소스 기반의 Web Components 기술
HTML5와 오픈소스 기반의 Web Components 기술HTML5와 오픈소스 기반의 Web Components 기술
HTML5와 오픈소스 기반의 Web Components 기술
 
Very Xd
Very XdVery Xd
Very Xd
 
RIAs
RIAsRIAs
RIAs
 
Sass: The Future of Stylesheets
Sass: The Future of StylesheetsSass: The Future of Stylesheets
Sass: The Future of Stylesheets
 
Breaking Free from Bootstrap: Custom Responsive Grids with Sass Susy
Breaking Free from Bootstrap: Custom Responsive Grids with Sass SusyBreaking Free from Bootstrap: Custom Responsive Grids with Sass Susy
Breaking Free from Bootstrap: Custom Responsive Grids with Sass Susy
 
Fasten RWD Development with Sass
Fasten RWD Development with SassFasten RWD Development with Sass
Fasten RWD Development with Sass
 
Fundamental CSS3
Fundamental CSS3Fundamental CSS3
Fundamental CSS3
 
Adobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + FireworksAdobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + Fireworks
 
CSS3 Takes on the World
CSS3 Takes on the WorldCSS3 Takes on the World
CSS3 Takes on the World
 
Css web side
Css web sideCss web side
Css web side
 
CSS Reset
CSS ResetCSS Reset
CSS Reset
 
Css3
Css3Css3
Css3
 
LESS
LESSLESS
LESS
 
ITNetwork - 3D na webu
ITNetwork - 3D na webuITNetwork - 3D na webu
ITNetwork - 3D na webu
 
CSS3
CSS3CSS3
CSS3
 
HTML5: A primer on the web's present and future
HTML5: A primer on the web's present and futureHTML5: A primer on the web's present and future
HTML5: A primer on the web's present and future
 
jQuery and Ruby Web Frameworks
jQuery and Ruby Web FrameworksjQuery and Ruby Web Frameworks
jQuery and Ruby Web Frameworks
 
Less vs sass
Less vs sassLess vs sass
Less vs sass
 

Viewers also liked

"Act before you think" - decision making in startups. By @ElaMadej
"Act before you think" - decision making in startups. By @ElaMadej"Act before you think" - decision making in startups. By @ElaMadej
"Act before you think" - decision making in startups. By @ElaMadejapplicake
 
Brian Kalma on Designing Experiences
Brian Kalma on Designing ExperiencesBrian Kalma on Designing Experiences
Brian Kalma on Designing Experiencesapplicake
 
Ericsson BTS commisioning
Ericsson BTS commisioningEricsson BTS commisioning
Ericsson BTS commisioningShahid Rasool
 
Kpi analysis
Kpi analysisKpi analysis
Kpi analysisavneesh7
 
Bts-site-installation
 Bts-site-installation Bts-site-installation
Bts-site-installationAli Usman
 

Viewers also liked (7)

Erlang
ErlangErlang
Erlang
 
"Act before you think" - decision making in startups. By @ElaMadej
"Act before you think" - decision making in startups. By @ElaMadej"Act before you think" - decision making in startups. By @ElaMadej
"Act before you think" - decision making in startups. By @ElaMadej
 
Brian Kalma on Designing Experiences
Brian Kalma on Designing ExperiencesBrian Kalma on Designing Experiences
Brian Kalma on Designing Experiences
 
BTS SITE VISIT
BTS SITE VISITBTS SITE VISIT
BTS SITE VISIT
 
Ericsson BTS commisioning
Ericsson BTS commisioningEricsson BTS commisioning
Ericsson BTS commisioning
 
Kpi analysis
Kpi analysisKpi analysis
Kpi analysis
 
Bts-site-installation
 Bts-site-installation Bts-site-installation
Bts-site-installation
 

Similar to A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com

CSS3: Are you experienced?
CSS3: Are you experienced?CSS3: Are you experienced?
CSS3: Are you experienced?Denise Jacobs
 
Web Design Trends 2010 - What Is CSS3 All About?
Web Design Trends 2010 - What Is CSS3 All About?Web Design Trends 2010 - What Is CSS3 All About?
Web Design Trends 2010 - What Is CSS3 All About?Alexandra Lo Cascio
 
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Sadaaki HIRAI
 
It's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking ModernizrIt's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking ModernizrMichael Enslow
 
CSS3: Ripe and Ready
CSS3: Ripe and ReadyCSS3: Ripe and Ready
CSS3: Ripe and ReadyDenise Jacobs
 
Even faster web sites presentation 3
Even faster web sites presentation 3Even faster web sites presentation 3
Even faster web sites presentation 3Felipe Lavín
 
Simply Responsive CSS3
Simply Responsive CSS3Simply Responsive CSS3
Simply Responsive CSS3Denise Jacobs
 
Ease into HTML5 and CSS3
Ease into HTML5 and CSS3Ease into HTML5 and CSS3
Ease into HTML5 and CSS3Brian Moon
 
CSS3: Ripe and Ready to Respond
CSS3: Ripe and Ready to RespondCSS3: Ripe and Ready to Respond
CSS3: Ripe and Ready to RespondDenise Jacobs
 
Wordcamp Thessaloniki 2011 The Nextweb
Wordcamp Thessaloniki 2011 The NextwebWordcamp Thessaloniki 2011 The Nextweb
Wordcamp Thessaloniki 2011 The NextwebGeorge Kanellopoulos
 
20111129 modernizr
20111129 modernizr20111129 modernizr
20111129 modernizrbrooky-yen
 
Css3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQueryCss3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQueryAndrea Verlicchi
 
Basics of html5, data_storage, css3
Basics of html5, data_storage, css3Basics of html5, data_storage, css3
Basics of html5, data_storage, css3Sreejith Nair
 

Similar to A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com (20)

HTML5 - A Whirlwind tour
HTML5 - A Whirlwind tourHTML5 - A Whirlwind tour
HTML5 - A Whirlwind tour
 
CSS3: Are you experienced?
CSS3: Are you experienced?CSS3: Are you experienced?
CSS3: Are you experienced?
 
Html5 more than just html5 v final
Html5  more than just html5 v finalHtml5  more than just html5 v final
Html5 more than just html5 v final
 
CSS and CSS3
CSS and CSS3CSS and CSS3
CSS and CSS3
 
Web Design Trends 2010 - What Is CSS3 All About?
Web Design Trends 2010 - What Is CSS3 All About?Web Design Trends 2010 - What Is CSS3 All About?
Web Design Trends 2010 - What Is CSS3 All About?
 
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
 
It's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking ModernizrIt's a Mod World - A Practical Guide to Rocking Modernizr
It's a Mod World - A Practical Guide to Rocking Modernizr
 
CSS3: Ripe and Ready
CSS3: Ripe and ReadyCSS3: Ripe and Ready
CSS3: Ripe and Ready
 
Css3
Css3Css3
Css3
 
Intro to CSS3
Intro to CSS3Intro to CSS3
Intro to CSS3
 
Even faster web sites presentation 3
Even faster web sites presentation 3Even faster web sites presentation 3
Even faster web sites presentation 3
 
Simply Responsive CSS3
Simply Responsive CSS3Simply Responsive CSS3
Simply Responsive CSS3
 
Ease into HTML5 and CSS3
Ease into HTML5 and CSS3Ease into HTML5 and CSS3
Ease into HTML5 and CSS3
 
CSS3: Ripe and Ready to Respond
CSS3: Ripe and Ready to RespondCSS3: Ripe and Ready to Respond
CSS3: Ripe and Ready to Respond
 
CSS3 3D Workshop
CSS3 3D WorkshopCSS3 3D Workshop
CSS3 3D Workshop
 
Wordcamp Thessaloniki 2011 The Nextweb
Wordcamp Thessaloniki 2011 The NextwebWordcamp Thessaloniki 2011 The Nextweb
Wordcamp Thessaloniki 2011 The Nextweb
 
20111129 modernizr
20111129 modernizr20111129 modernizr
20111129 modernizr
 
Css3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQueryCss3 transitions and animations + graceful degradation with jQuery
Css3 transitions and animations + graceful degradation with jQuery
 
Basics of html5, data_storage, css3
Basics of html5, data_storage, css3Basics of html5, data_storage, css3
Basics of html5, data_storage, css3
 
Css3 101
Css3 101Css3 101
Css3 101
 

Recently uploaded

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 

Recently uploaded (20)

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 

A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com

  • 1. A brief look at CSS3 techniques by Aaron Rodgers web designer @ vzaar.com
  • 2. • Essential properties • Demo website • CSS3 within vzaar • Useful apps, tools & cheats • Examples and further reading
  • 3. A brief look at CSS3 techniques - Essential properties Border Radius .block { -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
  • 4. A brief look at CSS3 techniques - Essential properties Box Shadow .block { -moz-box-shadow: 0 0 5px #888; -webkit-box-shadow: 0 0 5px #888; box-shadow: 0 0 5px #888; }
  • 5. A brief look at CSS3 techniques - Essential properties Text Shadow h1 { text-shadow: 2px 2px 5px #fff; }
  • 6. A brief look at CSS3 techniques - Essential properties Multiple Backgrounds body { background: url(images/bg1.jpg) 0 0 no-repeat, url(images/bg2.jpg) 50% 50% repeat; } **Remember to compensate for older browsers. body { /*FALLBACK*/ background: url(images/bg.jpg) 0 0 no-repeat; /*NEWER BROWSERS*/ background: url(images/bg1.jpg) 0 0 no-repeat, url(images/bg2.jpg) 50% 50% repeat; }
  • 7. A brief look at CSS3 techniques - Essential properties Transition .block { background-color: rgba(255,255,255,0.6); transition: background-color 1s ease-in-out; } .block:hover { background-color: rgba(255,255,255,1); }
  • 8. A brief look at CSS3 techniques - Essential properties Transition using Transform properties .block { -moz-transform: rotate(7deg); -moz-transition-duration: 1s; } .block:hover { -moz-transform: rotate(354deg) scale(1.3); }
  • 9. A brief look at CSS3 techniques - Essential properties Columns .footer p { column-count: 3; column-width: 200px; column-gap: 30px; column-rule-style: solid; column-rule-width: 1px; column-rule-color: #dedede; }
  • 10. A brief look at CSS3 techniques - Essential properties @font-face (web fonts) @font-face { font:family: ‘Comic Sans’; src: url(fonts/comicsans.otf) format(‘otf’), url(fonts/comicsans.ttf) format(‘ttf’),; } h1 { font-family: ‘Comic Sans’; } Browser font file types Internet Explorer only supports EOT Mozilla browsers support OTF and TTF Safari and Opera support OTF, TTF and SVG Chrome supports TTF and SVG.
  • 11. A brief look at CSS3 techniques - Essential properties rgba .block { background-color: rgba(255,200,150,0.5); } **Remember to add fallback for older browsers body { /*FALLBACK*/ background-color: #ffc896; /*NEWER BROWSERS*/ background-color: rgba(255,200,150,0.5); }
  • 12. CSS3 Example Site http://www.aaronjamesrodgers.com/applicake/ Includes all of the examples mentioned within this talk. Feel free to download the html and css from here.
  • 13. A brief look at CSS3 techniques - CSS3 within vzaar http://vzaar.com/for/agencies An example of transitions using the transform property
  • 14. A brief look at CSS3 techniques - CSS3 within vzaar http://vzaar.com/signup Box shadow on input:focus field (try it, Sign Up for a 30 day trial) :P
  • 15. A brief look at CSS3 techniques - CSS3 within vzaar http://vzaar.com/is An example of added styles on hover only using the transition & transform properties
  • 16. A brief look at CSS3 techniques - Useful apps, tools and cheats • Typekit Use the @font-face property with hundreds of fonts. Paid subscription based on the number of websites you use. Just place some javascript within the <head> tag. http://typekit.com/ • Border Radius generator Not the hardest property to code, but this site gives you a live preview as well as providing the CSS with all browser prefixes. http://border-radius.com/ • Adobe Edge Available from the Adobe Labs, this is a flash like program which allows you to select elements from your page and apply css3 effects. Timeline based UI. Still quite buggy as it’s an early version. http://labs.adobe.com/technologies/edge/ http://www.youtube.com/watch?v=8FnNtX73v8k
  • 17. A brief look at CSS3 techniques - Examples and further reading Silverback Great use of multiple backgrounds. Gives a sense of depth to the site. Resize your browser window to experience it. http://silverbackapp.com/ For the Record Nice mix of HTML5 and CSS3 to showcase the guys record collection stats. http://www.fortherecord.simonfosterdesign.com/ A book apart A book by Dan Cederholm, founder of http://simplebits.com/. Easy to digest guide of the best practices in CSS3 in use today. http://www.abookapart.com/products/css3-for-web-designers

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n