SlideShare a Scribd company logo
Basics of HTML5,  Data Storage &  CSS3   Sreejith M Akhilraj N S Jones V Rajan Anurag R S POD 5
Basics Of HTML5
Basics of HTML5
Syntax   <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;> <html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;>   <head>    <meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;    charset=utf-8&quot;> HTML 5: <!doctype html> <html>        <head>         <meta charset=&quot;utf-8&quot;> Basics of HTML5
Basics of HTML5 Semantic Tags
Basics of HTML5 New form types
Basics of HTML5 Markup for applications
Basics of HTML5 Native Drag & Drop
Basics of HTML5 Geolocation
Basics of HTML5 Audio & Video
Basics of HTML5 Canvas example
Basics of HTML5 Inline SVG
Client-side Data Storage
1. Web Storage      Supported in all latest browsers sessionStorage localStorage 2. Web SQL Databases      opera, chrome & safari client-side databases  Client-side Data Storage
Javascript API common for localStorage and sessionStorage interface Storage {    readonly attribute unsigned long length;    getter DOMString key(in unsigned long index);    getter any getItem(in DOMString key);    setter creator void setItem(in DOMString key, in any value);    deleter void removeItem(in DOMString key);    void clear(); }; Client-side Data Storage Web Storage Note: For firefox web storage causes security warning and break out your js, if cookies aren't enabled
temporary key/value pairs one session per tab/window replace cookies for session tracking extensive Javascript methods & events Client-side Data Storage sessionStorage
sessionStorage.setItem('key','value'); sessionStorage.getItem('key'); sessionStorage.length; sessionStorage.removeItem('key') Client-side Data Storage sessionStorage - Methods
var videoDetails = {                             author: ‘bruce’,                             description: ‘how to leverage synergies’,                             rating: ‘-2’                              }; sessionStorage.setItem(‘videoDetails’, JSON.stringify(videoDetails) ); Client-side Data Storage sessionStorage - e.g. Storing Video information 
// later on, as in page reloads later, we can extract the stored data var videoDetails = JSON.parse(sessionStorage.getItem(‘videoDetails’)); Client-side Data Storage sessionStorage
like sessionStorage, but persistent global Client-side Data Storage localStorage
same as sessionStorage e.g. localStorage.getItem('key');         localStorage.clear(); Client-side Data Storage localStorage - methods
SQLite - lots of structured, relational data asynchronous callback based fast Client-side Data Storage client-side databases
Client-side Data Storage client-side databases Open / Create database Create table Insert
Client-side Data Storage client-side databases - Select
Code inspectors firebug (firefox) dragonfly (opera) webkit's (for safari and chrome) Client-side Data Storage Inspecting Client-side Data Storage Value
Client-side Data Storage Inspecting Client-side Data Storage Value
Basics Of CSS3
  CSS level 1  CSS level 2   CSS level 2.1  CSS level 3  CSS, An Introduction
Whats new in CSS Level 3?   Rounded Corners   Box-Shadow   Background Decoration   Text Effects    2D Transforms   3D Transforms    Transitions   Animations
CSS 3 CODE  div { border-radius:25px; -moz-border-radius:25px; /*  Firefox  */ -webkit-border-radius:25px; /*   Safari and Chrome  */ -o-border-radius:25px; /*  Opera  */ }
CSS 3 v/s CSS 2
Example 1 Design Demo
CSS 3  h1 {     text-shadow: -3px 2px 0px #514d46; } #nav {     -moz-box-shadow: 0px 0px 12px rgba(88, 83, 74, .7);     -webkit-box-shadow: 0px 0px 12px rgba(88, 83, 74, .7);     box-shadow: 0px 0px 12px rgba(88, 83, 74, .7);     background-image: -moz-linear-gradient(top, #5c5850, #48473e);     background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #5c5850),color-stop(1, #48473e));     background-image: -webkit-linear-gradient(#5c5850, #48473e);     background-image: linear-gradient(top, #5c5850, #48473e); } nav a {     -moz-border-radius: 12px;     -webkit-border-radius: 12px;     border-radius: 12px; } nav a:hover {     background-color: #3a3e38;     background-color: rgba(47, 54, 48, .7); } nav a.active {     background-color: #070807;     background-color: rgba(7, 8, 7, .7); } body {     background-image: -webkit-gradient(radial, 50% 10%, 0, 50% 10%, 500, from(#FBF8E3), to(#E6E3D0));     background-image: -moz-radial-gradient(50% 10%, farthest-side, #FBF8E3, #E6E3D0); }
CSS 3  #learn_more, #details img {     -moz-border-radius: 8px;     -webkit-border-radius: 8px;     border-radius: 8px;     -webkit-box-shadow: inset 0px 0px 8px rgba(88, 83, 74, .2);     -moz-box-shadow: inset 1px 0px 1px rgba(88, 83, 74, .2);     box-shadow: inset 0px 0px 1px rgba(88, 83, 74, .2); } #learn_more a {     -moz-border-radius: 8px;     -webkit-border-radius: 8px;     border-radius: 8px;     background-color: #cc3b23;     background-image: -moz-linear-gradient(top, #cc3b23, #c00b00);     background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #cc3b23),color-stop(1, #c00b00));     background-image: -webkit-linear-gradient(#cc3b23, #c00b00);     background-image: linear-gradient(top, #cc3b23, #c00b00); } a {     -moz-transition: all 0.3s ease-in;     -o-transition: all 0.3s ease-in;     -webkit-transition: all 0.3s ease-in;     transition: all 0.3s ease-in; } /*-----CSS3 Finished Total Time Taken (49 minutes) -----*/
CSS 2 #header {     background: url(../img/navbg.png) left top repeat-x; } body {     background: #e6e3d0 url(../img/radial_gradient.jpg) no-repeat center top; } #nav {     background-color: transparent; } h1 {     background: url(../img/mercuryautomobiles.png) no-repeat center center;text-indent: -9999px; } #learn_more {     background-image: url(../img/learn_morebg.jpg);} #details img {     background-image: url(../img/detailsbg.jpg);} #learn_more a {     background: url(../img/learn_more_abg.jpg) no-repeat;} .css3 {     background: url(../img/css3_hover.png) no-repeat center top; }
CSS 2 .backend {     background: url(../img/smashing_hover.png) no-repeat center top; } .trent {     background: url(../img/trentwalton_hover.png) no-repeat center top;} .css3:hover {     background: url(../img/css3_hover.png) no-repeat center -20px;} .css:hover {     background: url(../img/css_hover.png) no-repeat center -20px;} .smashing:hover {     background: url(../img/smashing_hover.png) no-repeat center -20px;} .trent:hover {     background: url(../img/trentwalton_hover.png) no-repeat center -20px; } .css {     background: url(../img/css_hover.png) no-repeat center -50px; } /*-----CSS (the image-based approach) Total time taken (1 hour and 13 minutes)-----*/
Comparison
Thank You  POD 5

More Related Content

What's hot (12)

PDF
4.5. Contests [extras]
defconmoscow
 
PPTX
CSS3 Transitions
hstryk
 
PPTX
Encryption
charismapribadi
 
PDF
XS Japan 2008 Xen Mgmt Japanese
The Linux Foundation
 
PDF
まよいの墓(WebVR編)
KatsuyaENDOH
 
TXT
Your Presentation Name Here
FreedSoftwares
 
PDF
Wrapper to use Japanse font with vcd::mosaic and build it as pakcage
Tsuda University Institute for Mathematics and Computer Science
 
PDF
HTML5のメリットを活かしたコンテンツアイデア
Takami Yamada
 
PDF
Manipuler avec attention les URLs courtes
Christophe Villeneuve
 
PDF
Admin Cli Jane Young Kedar Mhaswade 22 Jan09
Eduardo Pelegri-Llopart
 
PDF
How to install the mb star c3 software
Bill Zhao
 
PDF
Wolf fronteers 2010
Johan Ronsse
 
4.5. Contests [extras]
defconmoscow
 
CSS3 Transitions
hstryk
 
Encryption
charismapribadi
 
XS Japan 2008 Xen Mgmt Japanese
The Linux Foundation
 
まよいの墓(WebVR編)
KatsuyaENDOH
 
Your Presentation Name Here
FreedSoftwares
 
Wrapper to use Japanse font with vcd::mosaic and build it as pakcage
Tsuda University Institute for Mathematics and Computer Science
 
HTML5のメリットを活かしたコンテンツアイデア
Takami Yamada
 
Manipuler avec attention les URLs courtes
Christophe Villeneuve
 
Admin Cli Jane Young Kedar Mhaswade 22 Jan09
Eduardo Pelegri-Llopart
 
How to install the mb star c3 software
Bill Zhao
 
Wolf fronteers 2010
Johan Ronsse
 

Viewers also liked (20)

PPTX
Html5 storage and browser storage
Sway Deng
 
PPTX
HTML5 Local Storage
Lior Zamir
 
PDF
HTML5 Storage/Cache
Andy Wang
 
PPTX
HTML 5
Rajan Pal
 
PPT
Rethinking the agile enterprise
Brandon Byars
 
PDF
Quality, Courtesy and a big Parking
Francesco Fullone
 
PPTX
HTML5
Brandon Byars
 
PDF
Probability and basic statistics with R
Alberto Labarga
 
KEY
Basic Data Storage
neptonia
 
PDF
HTTP by Hand: Exploring HTTP/1.0, 1.1 and 2.0
Cory Forsyth
 
PDF
An Overview of HTML5 Storage
Paul Irish
 
PPT
DataMeet 4: Data cleaning & census data
Ritvvij Parrikh
 
PPTX
Xml dtd
sana mateen
 
PPTX
Html5 Basics
Pankaj Bajaj
 
KEY
HTML5 - Just the basics
James VanDyke
 
PDF
Data Storage Tips for Optimal Spark Performance-(Vida Ha, Databricks)
Spark Summit
 
PDF
HTML5 Basic
Ryan Chung
 
PPTX
Basics of storage Technology
Lopamudra Das
 
PDF
Preparing images for the Web
sdireland
 
Html5 storage and browser storage
Sway Deng
 
HTML5 Local Storage
Lior Zamir
 
HTML5 Storage/Cache
Andy Wang
 
HTML 5
Rajan Pal
 
Rethinking the agile enterprise
Brandon Byars
 
Quality, Courtesy and a big Parking
Francesco Fullone
 
Probability and basic statistics with R
Alberto Labarga
 
Basic Data Storage
neptonia
 
HTTP by Hand: Exploring HTTP/1.0, 1.1 and 2.0
Cory Forsyth
 
An Overview of HTML5 Storage
Paul Irish
 
DataMeet 4: Data cleaning & census data
Ritvvij Parrikh
 
Xml dtd
sana mateen
 
Html5 Basics
Pankaj Bajaj
 
HTML5 - Just the basics
James VanDyke
 
Data Storage Tips for Optimal Spark Performance-(Vida Ha, Databricks)
Spark Summit
 
HTML5 Basic
Ryan Chung
 
Basics of storage Technology
Lopamudra Das
 
Preparing images for the Web
sdireland
 
Ad

Similar to Basics of html5, data_storage, css3 (20)

PPTX
Web Development for Mobile: GTUG Talk at Google
Estelle Weyl
 
PPTX
Ie9 dev overview (300) beta
Kirk Yamamoto
 
KEY
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
applicake
 
PDF
10 Excellent Ways to Secure Your Spring Boot Application - Devoxx Belgium 2019
Matt Raible
 
PDF
html5
NebberCracker01
 
PDF
Introduccion a HTML5
Pablo Garaizar
 
PDF
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Sadaaki HIRAI
 
PDF
Html5
Soliman ElSaber
 
PPTX
FPS PPT.pptx from Lekha madam encrypted file
VasanthKumar117035
 
PPTX
from Lekha Mam Encrypted Document', need decryption
VasanthKumar117035
 
PDF
[A5]deview 2012 pt hds webkit_gpu
NAVER D2
 
PDF
JavaOne 2009 - 2d Vector Graphics in the browser with Canvas and SVG
Patrick Chanezon
 
PDF
[convergese] Adaptive Images in Responsive Web Design
Christopher Schmitt
 
PDF
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
Robert Nyman
 
PDF
Repaso rápido a los nuevos estándares web
Pablo Garaizar
 
PPTX
Hardboiled Web Design
Vincent Smedinga
 
PDF
[cssdevconf] Adaptive Images in RWD
Christopher Schmitt
 
PDF
I Can't Believe It's Not Flash
Thomas Fuchs
 
PPTX
Css3
Bronson Quick
 
PPTX
HTML5 and Other Modern Browser Game Tech
vincent_scheib
 
Web Development for Mobile: GTUG Talk at Google
Estelle Weyl
 
Ie9 dev overview (300) beta
Kirk Yamamoto
 
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
applicake
 
10 Excellent Ways to Secure Your Spring Boot Application - Devoxx Belgium 2019
Matt Raible
 
Introduccion a HTML5
Pablo Garaizar
 
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Sadaaki HIRAI
 
FPS PPT.pptx from Lekha madam encrypted file
VasanthKumar117035
 
from Lekha Mam Encrypted Document', need decryption
VasanthKumar117035
 
[A5]deview 2012 pt hds webkit_gpu
NAVER D2
 
JavaOne 2009 - 2d Vector Graphics in the browser with Canvas and SVG
Patrick Chanezon
 
[convergese] Adaptive Images in Responsive Web Design
Christopher Schmitt
 
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
Robert Nyman
 
Repaso rápido a los nuevos estándares web
Pablo Garaizar
 
Hardboiled Web Design
Vincent Smedinga
 
[cssdevconf] Adaptive Images in RWD
Christopher Schmitt
 
I Can't Believe It's Not Flash
Thomas Fuchs
 
HTML5 and Other Modern Browser Game Tech
vincent_scheib
 
Ad

Recently uploaded (20)

PPTX
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
DOCX
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PDF
Why aren't you using FME Flow's CPU Time?
Safe Software
 
PPSX
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
PDF
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
PDF
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
PPTX
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
PDF
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
PDF
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
PDF
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
PDF
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
PDF
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
PDF
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
PDF
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
PPTX
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
Why aren't you using FME Flow's CPU Time?
Safe Software
 
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
FME as an Orchestration Tool with Principles From Data Gravity
Safe Software
 
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 

Basics of html5, data_storage, css3

  • 1. Basics of HTML5,  Data Storage &  CSS3   Sreejith M Akhilraj N S Jones V Rajan Anurag R S POD 5
  • 4. Syntax   <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;> <html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;>   <head>   <meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;   charset=utf-8&quot;> HTML 5: <!doctype html> <html>       <head>       <meta charset=&quot;utf-8&quot;> Basics of HTML5
  • 5. Basics of HTML5 Semantic Tags
  • 6. Basics of HTML5 New form types
  • 7. Basics of HTML5 Markup for applications
  • 8. Basics of HTML5 Native Drag & Drop
  • 9. Basics of HTML5 Geolocation
  • 10. Basics of HTML5 Audio & Video
  • 11. Basics of HTML5 Canvas example
  • 12. Basics of HTML5 Inline SVG
  • 14. 1. Web Storage     Supported in all latest browsers sessionStorage localStorage 2. Web SQL Databases     opera, chrome & safari client-side databases  Client-side Data Storage
  • 15. Javascript API common for localStorage and sessionStorage interface Storage {   readonly attribute unsigned long length;   getter DOMString key(in unsigned long index);   getter any getItem(in DOMString key);   setter creator void setItem(in DOMString key, in any value);   deleter void removeItem(in DOMString key);   void clear(); }; Client-side Data Storage Web Storage Note: For firefox web storage causes security warning and break out your js, if cookies aren't enabled
  • 16. temporary key/value pairs one session per tab/window replace cookies for session tracking extensive Javascript methods & events Client-side Data Storage sessionStorage
  • 17. sessionStorage.setItem('key','value'); sessionStorage.getItem('key'); sessionStorage.length; sessionStorage.removeItem('key') Client-side Data Storage sessionStorage - Methods
  • 18. var videoDetails = {                            author: ‘bruce’,                            description: ‘how to leverage synergies’,                            rating: ‘-2’                              }; sessionStorage.setItem(‘videoDetails’, JSON.stringify(videoDetails) ); Client-side Data Storage sessionStorage - e.g. Storing Video information 
  • 19. // later on, as in page reloads later, we can extract the stored data var videoDetails = JSON.parse(sessionStorage.getItem(‘videoDetails’)); Client-side Data Storage sessionStorage
  • 20. like sessionStorage, but persistent global Client-side Data Storage localStorage
  • 21. same as sessionStorage e.g. localStorage.getItem('key');         localStorage.clear(); Client-side Data Storage localStorage - methods
  • 22. SQLite - lots of structured, relational data asynchronous callback based fast Client-side Data Storage client-side databases
  • 23. Client-side Data Storage client-side databases Open / Create database Create table Insert
  • 25. Code inspectors firebug (firefox) dragonfly (opera) webkit's (for safari and chrome) Client-side Data Storage Inspecting Client-side Data Storage Value
  • 28.   CSS level 1  CSS level 2  CSS level 2.1  CSS level 3 CSS, An Introduction
  • 29. Whats new in CSS Level 3?   Rounded Corners   Box-Shadow   Background Decoration   Text Effects   2D Transforms   3D Transforms   Transitions   Animations
  • 30. CSS 3 CODE div { border-radius:25px; -moz-border-radius:25px; /* Firefox */ -webkit-border-radius:25px; /*  Safari and Chrome */ -o-border-radius:25px; /* Opera */ }
  • 31. CSS 3 v/s CSS 2
  • 33. CSS 3 h1 {     text-shadow: -3px 2px 0px #514d46; } #nav {     -moz-box-shadow: 0px 0px 12px rgba(88, 83, 74, .7);     -webkit-box-shadow: 0px 0px 12px rgba(88, 83, 74, .7);     box-shadow: 0px 0px 12px rgba(88, 83, 74, .7);     background-image: -moz-linear-gradient(top, #5c5850, #48473e);     background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #5c5850),color-stop(1, #48473e));     background-image: -webkit-linear-gradient(#5c5850, #48473e);     background-image: linear-gradient(top, #5c5850, #48473e); } nav a {     -moz-border-radius: 12px;     -webkit-border-radius: 12px;     border-radius: 12px; } nav a:hover {     background-color: #3a3e38;     background-color: rgba(47, 54, 48, .7); } nav a.active {     background-color: #070807;     background-color: rgba(7, 8, 7, .7); } body {     background-image: -webkit-gradient(radial, 50% 10%, 0, 50% 10%, 500, from(#FBF8E3), to(#E6E3D0));     background-image: -moz-radial-gradient(50% 10%, farthest-side, #FBF8E3, #E6E3D0); }
  • 34. CSS 3 #learn_more, #details img {     -moz-border-radius: 8px;     -webkit-border-radius: 8px;     border-radius: 8px;     -webkit-box-shadow: inset 0px 0px 8px rgba(88, 83, 74, .2);     -moz-box-shadow: inset 1px 0px 1px rgba(88, 83, 74, .2);     box-shadow: inset 0px 0px 1px rgba(88, 83, 74, .2); } #learn_more a {     -moz-border-radius: 8px;     -webkit-border-radius: 8px;     border-radius: 8px;     background-color: #cc3b23;     background-image: -moz-linear-gradient(top, #cc3b23, #c00b00);     background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #cc3b23),color-stop(1, #c00b00));     background-image: -webkit-linear-gradient(#cc3b23, #c00b00);     background-image: linear-gradient(top, #cc3b23, #c00b00); } a {     -moz-transition: all 0.3s ease-in;     -o-transition: all 0.3s ease-in;     -webkit-transition: all 0.3s ease-in;     transition: all 0.3s ease-in; } /*-----CSS3 Finished Total Time Taken (49 minutes) -----*/
  • 35. CSS 2 #header {     background: url(../img/navbg.png) left top repeat-x; } body {     background: #e6e3d0 url(../img/radial_gradient.jpg) no-repeat center top; } #nav {     background-color: transparent; } h1 {     background: url(../img/mercuryautomobiles.png) no-repeat center center;text-indent: -9999px; } #learn_more {     background-image: url(../img/learn_morebg.jpg);} #details img {     background-image: url(../img/detailsbg.jpg);} #learn_more a {     background: url(../img/learn_more_abg.jpg) no-repeat;} .css3 {     background: url(../img/css3_hover.png) no-repeat center top; }
  • 36. CSS 2 .backend {     background: url(../img/smashing_hover.png) no-repeat center top; } .trent {     background: url(../img/trentwalton_hover.png) no-repeat center top;} .css3:hover {     background: url(../img/css3_hover.png) no-repeat center -20px;} .css:hover {     background: url(../img/css_hover.png) no-repeat center -20px;} .smashing:hover {     background: url(../img/smashing_hover.png) no-repeat center -20px;} .trent:hover {     background: url(../img/trentwalton_hover.png) no-repeat center -20px; } .css {     background: url(../img/css_hover.png) no-repeat center -50px; } /*-----CSS (the image-based approach) Total time taken (1 hour and 13 minutes)-----*/
  • 38. Thank You POD 5