SlideShare a Scribd company logo
Fundamental CSS3
TRAINING HARI #2 โ€“ ACHMAD SOLICHIN (@ACHMATIM)
Agenda
๏ฑ What is CSS3 ?
๏ฑ CSS3 Media Queries
๏ฑ CSS3 Visual Effects
๏ฑ CSS3 Tools
What is CSS3 ?
๏ฑ Layout
๏ฑ Colors
๏ฑ Fonts and text
๏ฑ Backgrounds
๏ฑ Borders
๏ฑ Floats
Penggunaan CSS
Komponen Dasar CSS
๏ฑ Elemen
๏ฑ Atribut
๏ฑ Selector
๏ฑ Properties
CSS Selector
๏ฑ Tag
๏ฑ ID
๏ฑ Class
p { text-align:justify; color:blue; }
#header { float:left; margin:10px; }
.judul { font-size:15px; background-color:#0000ff; }
Relasi antar Selector
๏ฑ Turunan (Descendant)
๏ฑ (E F ) ๏ƒ  Selector F merupakan bagian dari E secara struktural.
๏ฑ Anak (Child)
๏ฑ (E > F) ๏ƒ  Selector F merupakan anak (secara hierarki) dari E.
๏ฑ Saudara dekat (Adjancent Sibling)
๏ฑ (E + F) ๏ƒ  Selector F merupakan selector yang secara structural satu parent dengan E.
๏ฑ Saudara umum (General Sibling)
๏ฑ (E ~ F) ๏ƒ  Selector F adalah satu parent dengan E dan memiliki hubungan secara struktur.
Atribute Selector
๏ฑ E[attr]
๏ฑ Seleksi semua selector E yang memiliki atribut โ€˜attrโ€™
๏ฑ Contoh: input[required]
๏ฑ E[attr = val]
๏ฑ Seleksi semua selector E yang memiliki atribut โ€˜attrโ€™ dengan nilai โ€˜valโ€™
๏ฑ Contoh: input[type=checkbox]
๏ฑ E[attr |= val]
๏ฑ Seleksi semua selector E yang memiliki atribut โ€˜attrโ€™ dan value sama atau diawali dengan โ€˜valโ€™
๏ฑ Contoh: p[lang |= โ€œenโ€]
๏ฑ E[attr ~= val]
๏ฑ Seleksi semua selector E yang memiliki atribut โ€˜attrโ€™ dan value mengandung kata โ€˜valโ€™
๏ฑ Contoh: .info[title ~= โ€œmoreโ€]
Atribute Selector
๏ฑ E[attr ^= val]
๏ฑ Seleksi semua selector E yang memiliki atribut โ€˜attrโ€™ dan value diawali dengan โ€˜valโ€™
๏ฑ E[attr $= val]
๏ฑ Seleksi semua selector E yang memiliki atribut โ€˜attrโ€™ dan value diakhiri dengan โ€˜valโ€™
๏ฑ E[attr *= val]
๏ฑ Seleksi semua selector E yang memiliki atribut โ€˜attrโ€™ dan value mengandung kata โ€˜valโ€™
CSS Selector Browser Support
CSS3 Selector Browser Support
CSS Pseudo-class
๏ฑ :link
๏ฑ :visited
๏ฑ :hover
๏ฑ :active
๏ฑ :focus
๏ฑ :enabled
๏ฑ :disabled
๏ฑ :checked
๏ฑ :indeterminate
๏ฑ :target
๏ฑ :default
๏ฑ :valid
๏ฑ :invalid
๏ฑ :in-range
๏ฑ :out-of-range
๏ฑ :required
๏ฑ :optional
๏ฑ :read-only
๏ฑ :read-write
Keunggulan CSS3
๏ฑ Bagian dari teknologi HTML5
๏ฑ Lebih cepat
๏ฑ Tidak terlalu bergantung pada Javascript dan plugin.
๏ฑ Mempermudah pengelolaan situs.
๏ฑ Lebih adaptive
๏ฑ Responsive design
Yang baru di CSS3
๏ฑ 2D Transforms
๏ฑ Backgrounds & Borders
๏ฑ Color
๏ฑ Values and Units
๏ฑ Selectors
๏ฑ Web Fonts
๏ฑ Media Queries
๏ฑ Namespaces
๏ฑ 3D Transforms
๏ฑ Animations
๏ฑ Gradient
๏ฑ CSS Exclusions (Floats)
๏ฑ Flexible Box (โ€œFlexboxโ€) Layout
๏ฑ Grid Layout
๏ฑ Multi-column Layout
๏ฑ Region
๏ฑ SVG Filter Effects
๏ฑ Text Shadow
๏ฑ Transitions
CSS3 Kompatibilitas Browser
๏ฑ Beberapa perintah CSS secara khusus berlaku di browser tertentu saja.
๏ฑ -moz-* ๏ƒ  Mozilla Firefox
๏ฑ -webkit-* ๏ƒ  Webkit-based browser
๏ฑ Ada juga beberapa property CSS yang โ€œdiperlakukanโ€ berbeda oleh setiap browser.
๏ฑ Solusi?
๏ฑ Gunakan โ€œimportantโ€ ๏ƒ  !
๏ฑ Coba di beberapa browser sekaligus ๏ƒ  Firefox, Chrome, IE
๏ฑ Gunakan tool cross-browser-tester.
CSS3 Kompatibilitas Browser
IDEALNYAโ€ฆ
a.polaroid:active {
z-index: 999;
border-color: #6A6A6A;
box-shadow: 15px 15px20px
rgba(0,0, 0, 0.4);
transform: rotate(0deg) scale(1.05);
}
KENYATAANNYAโ€ฆ
a.polaroid:active{
z-index: 999;
border-color: #6A6A6A;
-webkit-box-shadow: 15px 15px20px rgba(0,0, 0,
0.4);
-moz-box-shadow: 15px 15px 20px rgba(0,0, 0,
0.4);
box-shadow: 15px 15px20px rgba(0,0, 0, 0.4);
-webkit-transform: rotate(0deg) scale(1.05);
-moz-transform: rotate(0deg) scale(1.05);
transform: rotate(0deg) scale(1.05);
}
CSS3 Kompatibilitas Browser
๏ฑ CSS3 Property browser support chart - http://www.findmebyip.com/litmus
๏ฑ CSS3 Selector browser support chart - http://www.standardista.com/css3/css3-selector-
browser-support
๏ฑ CSS3 Specifications - http://www.w3.org/standards/techs/css#w3c_all
๏ฑ Cross-browser Tester
๏ฑ http://tredosoft.com/Multiple_IE
๏ฑ http://crossbrowsertesting.com (berbayar)
๏ฑ http://browsershots.org (gratis)
Contoh
.gradient {
color: #fff;
/*fallback background color & image*/
background: #aaaaaa url(gradient_slice.jpg) 0 0 x-repeat;
/* gradient for Mozilla */
background-image: -moz-linear-gradient(top, #07407c, #aaaaaa);
/* gradient for the Webkits */
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0,
#07407c),colorstop(1, #aaaaaa));
/* filter for IE8 (& IE9) */
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#07407c',
EndColorStr='#aaaaaa')";
/* filter for IE7 and lower */
filter:
progid:DXImageTransform.Microsoft.gradient(startColorStr='#07407c', EndColorStr='#aaaaaa');
}
CSS3 Media Query
CSS3 Media Query
๏ฑ Layout website harus mampu menyesuaikan diri dengan device yang digunakan secara
otomatis, untuk meningkatkan kenyamanan pengguna.
๏ฑ CSS3 Media Query memungkinkan untuk mendefinisikan perintah CSS yang akan dijalankan
sesuai dengan perangkat / device yang digunakan.
๏ฑ Jenis media:
๏ฑ Desktop browser, screen, print
๏ฑ Mobile browser
๏ฑ Tablet form-factor
๏ฑ Televisi
๏ฑ Game console
Browser Support Media Query
๏ฑ IE9+
๏ฑ Firefox 3.5+
๏ฑ Safari 3.2+
๏ฑ Chrome 8+
๏ฑ Opera 10.6+
๏ฑ iOS 3.2+
๏ฑ Opera Mini 5+
๏ฑ Opera Mobile 10+
๏ฑ Android 2.1+
Contoh
@media screen and (max-width: 600px) {
body {
font-size: 80%;
}
}
@media screen and (min-width:320px) and (max-width:480px) {}
@media not print and (max-width:600px) {}
Property CSS Media
๏ฑ min/max-width
๏ฑ min/max-height
๏ฑ device-width
๏ฑ device-height
๏ฑ orientation
๏ฑ aspect-ratio
๏ฑ device-aspect-ratio
๏ฑ color
๏ฑ color-index
๏ฑ monochrome
๏ฑ resolution
Contoh Penggunaan
View States
Fundamental CSS3
View States
Smartphone (Portrait & Landscape)
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* Styles */
}
Smartphone (Portrait & Landscape)
/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
/* Styles */
}
/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 320px) {
/* Styles */
}
iPads (Portrait & Landscape)
/* iPads (portrait and landscape)- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
/* Styles */
}
/* iPads (landscape) -------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
/* Styles */
}
/* iPads (portrait) -----*/
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
/* Styles */
}
Desktop
/* Desktops and laptops ----- */
@media only screen
and (min-width : 1224px) {
/* Styles */
}
/* Large screens ----------- */
@media only screen
and (min-width : 1824px) {
/* Styles */
}
iPhone 4
/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}
CSS3 Visual Effects
CSS3 Color
๏ฑ Hexadecimal, contoh: #ff0000, #ffff00
๏ฑ Textual, contoh: red, green
๏ฑ RGB (Red-Green-Blue), contoh: rgb(255,255,255)
๏ฑ RGBA (Red-Green-Blue-Alpha), contoh: rgba(0, 0, 0, 0.2)
๏ฑ HSL (Hue-Saturation-Lightness)
๏ฑ Hue : 0-359. 0=red, 60=yellow, 120=green
๏ฑ Saturation: 0-100%
๏ฑ Lightness: 0-100%
๏ฑ HSLA (Hue-Saturation-Lightness-Alpha)
CSS3 Color - RGBA
CSS3 Rounded Corner
๏ฑ Safari, Chrome, Opera, IE9+, dan Firefox 4+:
border-radius: 25px;
๏ฑ Firefox 3 dan sebelumnya:
-moz-border-radius: 25px;
CSS3 Rounded Corner
border-top-left-radius: 5px;
border-top-right-radius: 10px;
border-bottom-right-radius: 15px;
border-bottom-left-radius: 40px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 10px;
-moz-border-radius-bottomright: 15px;
-moz-border-radius-bottomleft: 40px;
New Browser Old Browser
CSS3 Box Shadow
-webkit-box-shadow: 2px 5px 0 0 rgba(72,72,72,1);
-moz-box-shadow: 2px 5px 0 0 rgba(72,72,72,1);
box-shadow: 2px 5px 0 0 rgba(72,72,72,1);
CSS3 Box Shadow Example 1
button {
padding:5px 30px;
border:1px solid maroon;
border-radius:4px;
-webkit-box-shadow:
inset 0 1px 3px pink,
inset 0 -5px 15px maroon,
0 2px 1px black;
-moz-box-shadow:
inset 0 1px 3px pink,
inset 0 -5px 15px maroon,
0 2px 1px black;
box-shadow:
inset 0 1px 3px pink,
inset 0 -5px 15px maroon,
0 2px 1px black;
background-color:red;
color:white;
text-shadow:0 1px 1px black;
}
CSS3 Box Shadow Example 2
CSS3 Text Shadow
/* single shadow */
text-shadow: topOffset leftOffset blurRadius color;
/* multiple shadows */
text-shadow: topOffset1 leftOffset1 blurRadius1 color1,
topOffset2 leftOffset2 blurRadius2 color2,
topOffset3 leftOffset3 blurRadius3 color3;
CSS3 Text Shadow
CSS3 Text Shadow
text-shadow: 3px 3px 1px rgba(0, 0, 0, 0.5);
CSS3 Text Shadow
CSS3 Text Shadow vs Image
CSS3 Opacity
CSS3 Opacity
.opacity {
background-color: #3C4C55;
color: #fff;
opacity: 0.5;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha (opacity=20)";
/* IE8 only */
filter: progid:DXImageTransform.Microsoft.Alpha (opacity=20);
/* IE6, IE7, and IE8 */
filter: alpha(opacity=20);
}
CSS3 Border Radius
CSS3 Gradient
๏ฑ Linier Gradient
๏ฑ Radial Gradient
๏ฑ Repeating Gradient
CSS3 Linier Gradient
#ad2 {
background-image:
-moz-linear-gradient(
270deg,
rgba(0,0,0,0.4) 0,
rgba(0,0,0,0) 37%,
rgba(0,0,0,0) 83%,
rgba(0,0,0,0.06) 92%,
rgba(0,0,0,0) 98%
);
background-image:
-webkit-linear-gradient(
270deg,
rgba(0,0,0,0.4) 0,
rgba(0,0,0,0) 37%,
rgba(0,0,0,0) 83%,
rgba(0,0,0,0.06) 92%,
rgba(0,0,0,0) 98%
);
background-image:
-o-linear-gradient(
270deg,
rgba(0,0,0,0.4) 0,
rgba(0,0,0,0) 37%,
rgba(0,0,0,0) 83%,
rgba(0,0,0,0.06) 92%,
rgba(0,0,0,0) 98%
);
}
CSS3 Radial Gradient
input[type=submit] {
background-color: #333;
/* Old WebKit */
background-image: -webkit-
gradient(radial, 30% 120%, 0, 30%
120%, 100,
color-stop(0,rgba(144,144,144,1)),
color-stop(1,rgba(72,72,72,1)));
/* W3C for Mozilla */
background-image: -moz-radial-
gradient(30% 120%, circle,
rgba(144,144,144,1) 0%,
rgba(72,72,72,1) 50%);
/* W3C for new WebKit */
background-image: -webkit-radial-
gradient(30% 120%, circle,
rgba(144,144,144,1) 0%,
rgba(72,72,72,1) 50%);
/* W3C unprefixed */
background-image: radial-
gradient(30% 120%, circle,
rgba(144,144,144,1) 0%,
rgba(72,72,72,1) 50%);
}
CSS3 Repeating Gradient
.repeat_linear_1 {
background-image:
-webkit-repeating-linear-gradient
(left,
rgba(0,0,0,0.5) 10%,
rgba(0,0,0,0.1) 30%);
}
.repeat_radial_2 {
background-image:
-webkit-repeating-radial-gradient
(top left, circle,
rgba(0,0,0,0.9),
rgba(0,0,0,0.1) 10%,
rgba(0,0,0,0.5) 20%);
}
.multiple_gradients_3 {
background-image:
-webkit-repeating-linear-gradient
(left,
rgba(0,0,0,0.5) 10%,
rgba(0,0,0,0.1) 30%),
-webkit-repeating-radial-gradient
(top left, circle,
rgba(0,0,0,0.9),
rgba(0,0,0,0.1) 10%,
rgba(0,0,0,0.5) 20%);
}
CSS3 Repeating Gradient
CSS3 Multiple Background
.multi-bg {
background: url(/https/www.slideshare.net/image/css3-multi-top.png) no-repeat,
url(/image/css3-multi-bottom.png) no-repeat 0 100%,
url(/image/css3-multi-repeat.png) repeat-y;
background-color: #516ac4;
}
CSS3 Multiple Column Layout
.columns {
-moz-column-count: 3;
-moz-column-gap: 20px;
-moz-column-rule: 1px dotted #666;
-webkit-column-count: 3;
-webkit-column-gap: 20px;
-webkit-column-rule: 1px dotted #666;
}
CSS3 Border Image
.border-img {
background-color: #516ac4;
border: 10px solid;
border-image: url(/https/www.slideshare.net/image/css3-border-img.png) 10 10 10 10 repeat repeat;
-moz-border-image: url(/https/www.slideshare.net/image/css3-border-img.png) 10 10 10 10 repeat repeat;
-webkit-border-image: url(/https/www.slideshare.net/image/css3-border-img.png) 10 10 10 10 repeat repeat;
}
CSS3 Background Size
.background-size {
background-image: url(http://domain.tld/path/bg.png);
-webkit-background-size: 50% 50%; /* Safari */
-khtml-background-size: 50% 50%; /* Konquer */
-moz-background-size: 50% 50%; /* Firefox */
-o-background-size: 50% 50%; /* Opera */
background-size: 50% 50%; /* CSS3 */
}
CSS3 Custom Text-Highlight Style
*::selection {
background: #E6E5C3;
color: #291F16;
}
*::-moz-selection {
background: #E6E5C3;
color: #291F16;
}
CSS3 Web Font
๏ฑ Tidak semua font tersedia di komputer klien.
๏ฑ CSS3 memungkinkan untuk meng-embed font yang diinginkan di web, sehingga tidak lagi
bergantung pada ketersediaan font di klien
๏ฑ Tipe font:
๏ฑ .eot
๏ฑ .ttf
๏ฑ .svg
๏ฑ .woff
๏ฑ Download font:
๏ฑ http://www.fontsquirrel.com/fonts
๏ฑ http://www.exljbris.com/
CSS3 Web Font
@font-face { /* declare fonts */
font-family: "GoodDog";
src: url("fonts/GoodDog-webfont.eot");
src: local("GoodDog"), local("GoodDog"),
url("fonts/GoodDog-webfont.woff") format("woff"),
url("fonts/GoodDog-webfont.ttf") format("truetype"),
url("fonts/GoodDog-webfont") format("svg");
}
/* display fonts */
h1 { font: 24px/1 GoodDog, Verdana, sans-serif; }
h2 { font: 18px/1 GoodDog, Verdana, sans-serif; }
h3 { font: 14px/1 GoodDog, Verdana, sans-serif; }
CSS3 Tools
CSS3 Generator
๏ฑ CSS3Please.Com
CSS3 Generator
๏ฑ CSS3Generator.Com
CSS3 Generator
๏ฑ CSS3-Maker.Com
CSS3 Generator
๏ฑ Westciv.com/tools
CSS3 Generator
๏ฑ http://border-radius.com
๏ฑ http://www.css3maker.com
๏ฑ http://www.colorzilla.com/gradient-editor/
๏ฑ http://csscorners.com
๏ฑ http://border-image.com
CSS3 Helper Script
๏ฑ Membantu browser IE8 atau sebelumnya agar kompatibel dengan CSS3.
๏ฑ IE7-JS http://code.google.com/p/ie7-js/
๏ฑ CSS3Pie http://css3pie.com
๏ฑ CSS Sandpaper http://www.useragentman.com/blog/csssandpaper-a-css3-javascript-library
๏ฑ Modernizr http://modernizr.com
๏ฑ Untuk mendeteksi kompatibilitas browser dengan perintah CSS3 dan HTML5
๏ฑ How to:
๏ฑ http://www.alistapart.com/articles/takingadvantage-of-html5-and-css3-withmodernizr/
๏ฑ http://webdesignernotebook.com/css/how-to-use-modernizr
๏ฑ http://www.ericlightbody.com/2010/modernizr-your-tool-for-html5-and-css3-functionality
CSS3 Nice Example
๏ฑ Pure CSS3 Page Flip Effect - http://www.romancortes.com/ficheros/page-flip.html
๏ฑ Selectable Headline with Color Transitions - http://trentwalton.com/bgclip/
๏ฑ Our Solar Systems in CSS3 - http://neography.com/journal/our-solar-system-in-css3/
๏ฑ CSS World Clocks - http://lensco.be/2010/04/04/css-world-clocks/
๏ฑ CSS 3D Text Tower - http://css-tricks.com/3d-text-tower/
๏ฑ Sexy Tooltips with Just CSS - http://sixrevisions.com/css/css-only-tooltips/
๏ฑ Sexy Image Hover Effects using CSS3 - http://www.nikesh.me/blog/2010/05/sexy-image-hover-
effects-using-css3/
๏ฑ CSS Gradient Dropdown Menu - http://www.webdesignerwall.com/demo/css3-dropdown-
menu/css-gradient-dropdown.html
๏ฑ CSS Flexbox - http://css-tricks.com/snippets/css/a-guide-to-flexbox/
Resources
๏ฑ (Book) Alexis Goldstein, Louis Lazaris, and Estelle Weyl. 2011. HTML5 & CSS3 FOR THE REAL
WORLD. SitePoint Pty. Ltd
๏ฑ (Presentation) Doris Chen. Introduction to CSS3.
http://www.slideshare.net/doris1/introduction-to-css3-14547955
๏ฑ (Presentation) Denise Jacobs. Introduction to CSS3.
http://www.slideshare.net/denisejacobs/intro-to-css3
๏ฑ http://css-tricks.com/snippets/
Terima Kasih
๏ฑ http://achmatim.net
๏ฑ achmatim@gmail.com
๏ฑ http://twitter.com/achmatim
๏ฑ http://facebook.com/achmatim
๏ฑ http://slideshare.net/achmatim
Ad

More Related Content

What's hot (20)

Css3
Css3Css3
Css3
Rahma Boufalgha
ย 
Intro to CSS3
Intro to CSS3Intro to CSS3
Intro to CSS3
Denise Jacobs
ย 
HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)
Daniel Friedman
ย 
CSS
CSSCSS
CSS
Mallikarjuna G D
ย 
Intro to CSS
Intro to CSSIntro to CSS
Intro to CSS
Randy Oest II
ย 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
Ferdous Mahmud Shaon
ย 
HTML5, CSS3, and JavaScript
HTML5, CSS3, and JavaScriptHTML5, CSS3, and JavaScript
HTML5, CSS3, and JavaScript
Zac Gordon
ย 
CSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and moreCSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and more
Russ Weakley
ย 
About Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSAbout Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JS
Naga Harish M
ย 
Css.html
Css.htmlCss.html
Css.html
Anaghabalakrishnan
ย 
Web front end development introduction to html css and javascript
Web front end development introduction to html css and javascriptWeb front end development introduction to html css and javascript
Web front end development introduction to html css and javascript
Marc Huang
ย 
Html Expression Web
Html Expression WebHtml Expression Web
Html Expression Web
Mark Frydenberg
ย 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
Mario Hernandez
ย 
Getting started with html5
Getting started with html5Getting started with html5
Getting started with html5
Suresh Kumar
ย 
Css3
Css3Css3
Css3
Vladimir Varun
ย 
Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02
Hatem Mahmoud
ย 
1 03 - CSS Introduction
1 03 - CSS Introduction1 03 - CSS Introduction
1 03 - CSS Introduction
apnwebdev
ย 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
Shawn Calvert
ย 
CSS: a rapidly changing world
CSS: a rapidly changing worldCSS: a rapidly changing world
CSS: a rapidly changing world
Russ Weakley
ย 
Cascading style sheets (CSS)
Cascading style sheets (CSS)Cascading style sheets (CSS)
Cascading style sheets (CSS)
Harshita Yadav
ย 
Intro to CSS3
Intro to CSS3Intro to CSS3
Intro to CSS3
Denise Jacobs
ย 
HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)
Daniel Friedman
ย 
Intro to CSS
Intro to CSSIntro to CSS
Intro to CSS
Randy Oest II
ย 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
Ferdous Mahmud Shaon
ย 
HTML5, CSS3, and JavaScript
HTML5, CSS3, and JavaScriptHTML5, CSS3, and JavaScript
HTML5, CSS3, and JavaScript
Zac Gordon
ย 
CSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and moreCSS - OOCSS, SMACSS and more
CSS - OOCSS, SMACSS and more
Russ Weakley
ย 
About Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSAbout Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JS
Naga Harish M
ย 
Web front end development introduction to html css and javascript
Web front end development introduction to html css and javascriptWeb front end development introduction to html css and javascript
Web front end development introduction to html css and javascript
Marc Huang
ย 
Html Expression Web
Html Expression WebHtml Expression Web
Html Expression Web
Mark Frydenberg
ย 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
Mario Hernandez
ย 
Getting started with html5
Getting started with html5Getting started with html5
Getting started with html5
Suresh Kumar
ย 
Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02
Hatem Mahmoud
ย 
1 03 - CSS Introduction
1 03 - CSS Introduction1 03 - CSS Introduction
1 03 - CSS Introduction
apnwebdev
ย 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
Shawn Calvert
ย 
CSS: a rapidly changing world
CSS: a rapidly changing worldCSS: a rapidly changing world
CSS: a rapidly changing world
Russ Weakley
ย 
Cascading style sheets (CSS)
Cascading style sheets (CSS)Cascading style sheets (CSS)
Cascading style sheets (CSS)
Harshita Yadav
ย 

Similar to Fundamental CSS3 (20)

Css3 101
Css3 101Css3 101
Css3 101
Ignacio Coloma
ย 
CSS 3 Overview
CSS 3 OverviewCSS 3 Overview
CSS 3 Overview
Danilo Sousa
ย 
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.comA brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
applicake
ย 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
Chris Poteet
ย 
Core CSS3
Core CSS3Core CSS3
Core CSS3
Rachel Andrew
ย 
CSS 3
CSS 3CSS 3
CSS 3
Doncho Minkov
ย 
CSS3
CSS3CSS3
CSS3
Doncho Minkov
ย 
Web Development for Mobile: GTUG Talk at Google
Web Development for Mobile: GTUG Talk at GoogleWeb Development for Mobile: GTUG Talk at Google
Web Development for Mobile: GTUG Talk at Google
Estelle Weyl
ย 
CSS3 For Advanced Design
CSS3 For Advanced DesignCSS3 For Advanced Design
CSS3 For Advanced Design
paultrani
ย 
CSS3 - is everything we used to do wrong?
CSS3 - is everything we used to do wrong? CSS3 - is everything we used to do wrong?
CSS3 - is everything we used to do wrong?
Russ Weakley
ย 
Write LESS. DO more.
Write LESS. DO more.Write LESS. DO more.
Write LESS. DO more.
Eugene Nor
ย 
CSS3
CSS3CSS3
CSS3
Chathuranga Jayanath
ย 
CSS Methodology
CSS MethodologyCSS Methodology
CSS Methodology
Zohar Arad
ย 
A Complete Guide to Frontend - UI Developer
A Complete Guide to Frontend - UI DeveloperA Complete Guide to Frontend - UI Developer
A Complete Guide to Frontend - UI Developer
nariyaravi
ย 
CSS and CSS3
CSS and CSS3CSS and CSS3
CSS and CSS3
Robyn Overstreet
ย 
Advanced CSS Tricks and Techniques
Advanced CSS Tricks and TechniquesAdvanced CSS Tricks and Techniques
Advanced CSS Tricks and Techniques
Robert Richelieu
ย 
Css3
Css3Css3
Css3
Anjan Banda
ย 
Practical tipsmakemobilefaster oscon2016
Practical tipsmakemobilefaster oscon2016Practical tipsmakemobilefaster oscon2016
Practical tipsmakemobilefaster oscon2016
Doris Chen
ย 
Developing for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic WelterlinDeveloping for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic Welterlin
Razorfish
ย 
Trendsetting: Web Design and Beyond
Trendsetting: Web Design and BeyondTrendsetting: Web Design and Beyond
Trendsetting: Web Design and Beyond
Andy Stratton
ย 
CSS 3 Overview
CSS 3 OverviewCSS 3 Overview
CSS 3 Overview
Danilo Sousa
ย 
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.comA brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
A brief look at CSS3 techniques by Aaron Rodgers, Web Designer @ vzaar.com
applicake
ย 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
Chris Poteet
ย 
Web Development for Mobile: GTUG Talk at Google
Web Development for Mobile: GTUG Talk at GoogleWeb Development for Mobile: GTUG Talk at Google
Web Development for Mobile: GTUG Talk at Google
Estelle Weyl
ย 
CSS3 For Advanced Design
CSS3 For Advanced DesignCSS3 For Advanced Design
CSS3 For Advanced Design
paultrani
ย 
CSS3 - is everything we used to do wrong?
CSS3 - is everything we used to do wrong? CSS3 - is everything we used to do wrong?
CSS3 - is everything we used to do wrong?
Russ Weakley
ย 
Write LESS. DO more.
Write LESS. DO more.Write LESS. DO more.
Write LESS. DO more.
Eugene Nor
ย 
CSS Methodology
CSS MethodologyCSS Methodology
CSS Methodology
Zohar Arad
ย 
A Complete Guide to Frontend - UI Developer
A Complete Guide to Frontend - UI DeveloperA Complete Guide to Frontend - UI Developer
A Complete Guide to Frontend - UI Developer
nariyaravi
ย 
Advanced CSS Tricks and Techniques
Advanced CSS Tricks and TechniquesAdvanced CSS Tricks and Techniques
Advanced CSS Tricks and Techniques
Robert Richelieu
ย 
Practical tipsmakemobilefaster oscon2016
Practical tipsmakemobilefaster oscon2016Practical tipsmakemobilefaster oscon2016
Practical tipsmakemobilefaster oscon2016
Doris Chen
ย 
Developing for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic WelterlinDeveloping for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic Welterlin
Razorfish
ย 
Trendsetting: Web Design and Beyond
Trendsetting: Web Design and BeyondTrendsetting: Web Design and Beyond
Trendsetting: Web Design and Beyond
Andy Stratton
ย 
Ad

More from Achmad Solichin (20)

Kuliah Umum - Tips Publikasi Jurnal SINTA untuk Mahasiswa Galau (6 Agustus 2022)
Kuliah Umum - Tips Publikasi Jurnal SINTA untuk Mahasiswa Galau (6 Agustus 2022)Kuliah Umum - Tips Publikasi Jurnal SINTA untuk Mahasiswa Galau (6 Agustus 2022)
Kuliah Umum - Tips Publikasi Jurnal SINTA untuk Mahasiswa Galau (6 Agustus 2022)
Achmad Solichin
ย 
Materi Webinar Web 3.0 (16 Juli 2022)
Materi Webinar Web 3.0 (16 Juli 2022)Materi Webinar Web 3.0 (16 Juli 2022)
Materi Webinar Web 3.0 (16 Juli 2022)
Achmad Solichin
ย 
Webinar: Kesadaran Keamanan Informasi (3 Desember 2021)
Webinar: Kesadaran Keamanan Informasi (3 Desember 2021)Webinar: Kesadaran Keamanan Informasi (3 Desember 2021)
Webinar: Kesadaran Keamanan Informasi (3 Desember 2021)
Achmad Solichin
ย 
Webinar PHP-ID: Mari Mengenal Logika Fuzzy (Fuzzy Logic)
Webinar PHP-ID: Mari Mengenal Logika Fuzzy (Fuzzy Logic)Webinar PHP-ID: Mari Mengenal Logika Fuzzy (Fuzzy Logic)
Webinar PHP-ID: Mari Mengenal Logika Fuzzy (Fuzzy Logic)
Achmad Solichin
ย 
Webinar PHP-ID: Machine Learning dengan PHP
Webinar PHP-ID: Machine Learning dengan PHPWebinar PHP-ID: Machine Learning dengan PHP
Webinar PHP-ID: Machine Learning dengan PHP
Achmad Solichin
ย 
Webinar Data Mining dengan Rapidminer | Universitas Budi Luhur
Webinar Data Mining dengan Rapidminer | Universitas Budi LuhurWebinar Data Mining dengan Rapidminer | Universitas Budi Luhur
Webinar Data Mining dengan Rapidminer | Universitas Budi Luhur
Achmad Solichin
ย 
TREN DAN IDE RISET BIDANG DATA MINING TERBARU
TREN DAN IDE RISET BIDANG DATA MINING TERBARUTREN DAN IDE RISET BIDANG DATA MINING TERBARU
TREN DAN IDE RISET BIDANG DATA MINING TERBARU
Achmad Solichin
ย 
Metodologi Riset: Literature Review
Metodologi Riset: Literature ReviewMetodologi Riset: Literature Review
Metodologi Riset: Literature Review
Achmad Solichin
ย 
Materi Seminar: Artificial Intelligence dengan PHP
Materi Seminar: Artificial Intelligence dengan PHPMateri Seminar: Artificial Intelligence dengan PHP
Materi Seminar: Artificial Intelligence dengan PHP
Achmad Solichin
ย 
Percobaan Perpindahan Kalor melalui Konduksi, Konveksi dan Radiasi
Percobaan Perpindahan Kalor melalui Konduksi, Konveksi dan RadiasiPercobaan Perpindahan Kalor melalui Konduksi, Konveksi dan Radiasi
Percobaan Perpindahan Kalor melalui Konduksi, Konveksi dan Radiasi
Achmad Solichin
ย 
Metodologi Riset: Literature Review
Metodologi Riset: Literature ReviewMetodologi Riset: Literature Review
Metodologi Riset: Literature Review
Achmad Solichin
ย 
Depth First Search (DFS) pada Graph
Depth First Search (DFS) pada GraphDepth First Search (DFS) pada Graph
Depth First Search (DFS) pada Graph
Achmad Solichin
ย 
Breadth First Search (BFS) pada Graph
Breadth First Search (BFS) pada GraphBreadth First Search (BFS) pada Graph
Breadth First Search (BFS) pada Graph
Achmad Solichin
ย 
Binary Search Tree (BST) - Algoritma dan Struktur Data
Binary Search Tree (BST) - Algoritma dan Struktur DataBinary Search Tree (BST) - Algoritma dan Struktur Data
Binary Search Tree (BST) - Algoritma dan Struktur Data
Achmad Solichin
ย 
Computer Vision di Era Industri 4.0
Computer Vision di Era Industri 4.0Computer Vision di Era Industri 4.0
Computer Vision di Era Industri 4.0
Achmad Solichin
ย 
Seminar: Become a Reliable Web Programmer
Seminar: Become a Reliable Web ProgrammerSeminar: Become a Reliable Web Programmer
Seminar: Become a Reliable Web Programmer
Achmad Solichin
ย 
The Big 5: Future IT Trends
The Big 5: Future IT TrendsThe Big 5: Future IT Trends
The Big 5: Future IT Trends
Achmad Solichin
ย 
Modern PHP Developer
Modern PHP DeveloperModern PHP Developer
Modern PHP Developer
Achmad Solichin
ย 
Seminar: PHP Developer for Dummies
Seminar: PHP Developer for DummiesSeminar: PHP Developer for Dummies
Seminar: PHP Developer for Dummies
Achmad Solichin
ย 
Pertemuan 1 - Algoritma dan Struktur Data 1
Pertemuan 1 - Algoritma dan Struktur Data 1Pertemuan 1 - Algoritma dan Struktur Data 1
Pertemuan 1 - Algoritma dan Struktur Data 1
Achmad Solichin
ย 
Kuliah Umum - Tips Publikasi Jurnal SINTA untuk Mahasiswa Galau (6 Agustus 2022)
Kuliah Umum - Tips Publikasi Jurnal SINTA untuk Mahasiswa Galau (6 Agustus 2022)Kuliah Umum - Tips Publikasi Jurnal SINTA untuk Mahasiswa Galau (6 Agustus 2022)
Kuliah Umum - Tips Publikasi Jurnal SINTA untuk Mahasiswa Galau (6 Agustus 2022)
Achmad Solichin
ย 
Materi Webinar Web 3.0 (16 Juli 2022)
Materi Webinar Web 3.0 (16 Juli 2022)Materi Webinar Web 3.0 (16 Juli 2022)
Materi Webinar Web 3.0 (16 Juli 2022)
Achmad Solichin
ย 
Webinar: Kesadaran Keamanan Informasi (3 Desember 2021)
Webinar: Kesadaran Keamanan Informasi (3 Desember 2021)Webinar: Kesadaran Keamanan Informasi (3 Desember 2021)
Webinar: Kesadaran Keamanan Informasi (3 Desember 2021)
Achmad Solichin
ย 
Webinar PHP-ID: Mari Mengenal Logika Fuzzy (Fuzzy Logic)
Webinar PHP-ID: Mari Mengenal Logika Fuzzy (Fuzzy Logic)Webinar PHP-ID: Mari Mengenal Logika Fuzzy (Fuzzy Logic)
Webinar PHP-ID: Mari Mengenal Logika Fuzzy (Fuzzy Logic)
Achmad Solichin
ย 
Webinar PHP-ID: Machine Learning dengan PHP
Webinar PHP-ID: Machine Learning dengan PHPWebinar PHP-ID: Machine Learning dengan PHP
Webinar PHP-ID: Machine Learning dengan PHP
Achmad Solichin
ย 
Webinar Data Mining dengan Rapidminer | Universitas Budi Luhur
Webinar Data Mining dengan Rapidminer | Universitas Budi LuhurWebinar Data Mining dengan Rapidminer | Universitas Budi Luhur
Webinar Data Mining dengan Rapidminer | Universitas Budi Luhur
Achmad Solichin
ย 
TREN DAN IDE RISET BIDANG DATA MINING TERBARU
TREN DAN IDE RISET BIDANG DATA MINING TERBARUTREN DAN IDE RISET BIDANG DATA MINING TERBARU
TREN DAN IDE RISET BIDANG DATA MINING TERBARU
Achmad Solichin
ย 
Metodologi Riset: Literature Review
Metodologi Riset: Literature ReviewMetodologi Riset: Literature Review
Metodologi Riset: Literature Review
Achmad Solichin
ย 
Materi Seminar: Artificial Intelligence dengan PHP
Materi Seminar: Artificial Intelligence dengan PHPMateri Seminar: Artificial Intelligence dengan PHP
Materi Seminar: Artificial Intelligence dengan PHP
Achmad Solichin
ย 
Percobaan Perpindahan Kalor melalui Konduksi, Konveksi dan Radiasi
Percobaan Perpindahan Kalor melalui Konduksi, Konveksi dan RadiasiPercobaan Perpindahan Kalor melalui Konduksi, Konveksi dan Radiasi
Percobaan Perpindahan Kalor melalui Konduksi, Konveksi dan Radiasi
Achmad Solichin
ย 
Metodologi Riset: Literature Review
Metodologi Riset: Literature ReviewMetodologi Riset: Literature Review
Metodologi Riset: Literature Review
Achmad Solichin
ย 
Depth First Search (DFS) pada Graph
Depth First Search (DFS) pada GraphDepth First Search (DFS) pada Graph
Depth First Search (DFS) pada Graph
Achmad Solichin
ย 
Breadth First Search (BFS) pada Graph
Breadth First Search (BFS) pada GraphBreadth First Search (BFS) pada Graph
Breadth First Search (BFS) pada Graph
Achmad Solichin
ย 
Binary Search Tree (BST) - Algoritma dan Struktur Data
Binary Search Tree (BST) - Algoritma dan Struktur DataBinary Search Tree (BST) - Algoritma dan Struktur Data
Binary Search Tree (BST) - Algoritma dan Struktur Data
Achmad Solichin
ย 
Computer Vision di Era Industri 4.0
Computer Vision di Era Industri 4.0Computer Vision di Era Industri 4.0
Computer Vision di Era Industri 4.0
Achmad Solichin
ย 
Seminar: Become a Reliable Web Programmer
Seminar: Become a Reliable Web ProgrammerSeminar: Become a Reliable Web Programmer
Seminar: Become a Reliable Web Programmer
Achmad Solichin
ย 
The Big 5: Future IT Trends
The Big 5: Future IT TrendsThe Big 5: Future IT Trends
The Big 5: Future IT Trends
Achmad Solichin
ย 
Modern PHP Developer
Modern PHP DeveloperModern PHP Developer
Modern PHP Developer
Achmad Solichin
ย 
Seminar: PHP Developer for Dummies
Seminar: PHP Developer for DummiesSeminar: PHP Developer for Dummies
Seminar: PHP Developer for Dummies
Achmad Solichin
ย 
Pertemuan 1 - Algoritma dan Struktur Data 1
Pertemuan 1 - Algoritma dan Struktur Data 1Pertemuan 1 - Algoritma dan Struktur Data 1
Pertemuan 1 - Algoritma dan Struktur Data 1
Achmad Solichin
ย 
Ad

Recently uploaded (20)

STOCK ANALYSYS.pptx manajemen keuangan s
STOCK ANALYSYS.pptx manajemen keuangan sSTOCK ANALYSYS.pptx manajemen keuangan s
STOCK ANALYSYS.pptx manajemen keuangan s
kfdpontianak2012
ย 
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdfEEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
CastroAngeloReoD
ย 
Emirates Agriculture Prensentation Badges GOLD.pdf
Emirates Agriculture Prensentation Badges GOLD.pdfEmirates Agriculture Prensentation Badges GOLD.pdf
Emirates Agriculture Prensentation Badges GOLD.pdf
asfianoor1
ย 
Presentation mockup using lots of animals
Presentation mockup using lots of animalsPresentation mockup using lots of animals
Presentation mockup using lots of animals
ChunChihChenPhD
ย 
COTTER and KNUCKleeeeeeeeeeeeeeeeeee.pptx
COTTER and  KNUCKleeeeeeeeeeeeeeeeeee.pptxCOTTER and  KNUCKleeeeeeeeeeeeeeeeeee.pptx
COTTER and KNUCKleeeeeeeeeeeeeeeeeee.pptx
ayushjadon04
ย 
Take this ppt refference and give content on mahindra commitment to sustainab...
Take this ppt refference and give content on mahindra commitment to sustainab...Take this ppt refference and give content on mahindra commitment to sustainab...
Take this ppt refference and give content on mahindra commitment to sustainab...
kochars428
ย 
mid-term all revisions g11 s1.pmdzs,zxptx
mid-term all revisions g11 s1.pmdzs,zxptxmid-term all revisions g11 s1.pmdzs,zxptx
mid-term all revisions g11 s1.pmdzs,zxptx
omar164646
ย 
Templates Wind Generator.pdf ahรญ. Ais d Ai d f
Templates Wind Generator.pdf ahรญ. Ais d Ai d fTemplates Wind Generator.pdf ahรญ. Ais d Ai d f
Templates Wind Generator.pdf ahรญ. Ais d Ai d f
jeremysegundob
ย 
behiriskfactorsxyzkskeb210217133906 (1).pdf
behiriskfactorsxyzkskeb210217133906 (1).pdfbehiriskfactorsxyzkskeb210217133906 (1).pdf
behiriskfactorsxyzkskeb210217133906 (1).pdf
ShakibulHasan14
ย 
Lori Vanzant Portfolio. Please take a look !
Lori Vanzant  Portfolio. Please take a look !Lori Vanzant  Portfolio. Please take a look !
Lori Vanzant Portfolio. Please take a look !
vanzan01
ย 
Baby panda 400.pdf de ciencias naturales
Baby panda 400.pdf de ciencias naturalesBaby panda 400.pdf de ciencias naturales
Baby panda 400.pdf de ciencias naturales
debbie loaiza
ย 
Are you Transitioning or Refining Now..?
Are you Transitioning or Refining Now..?Are you Transitioning or Refining Now..?
Are you Transitioning or Refining Now..?
Gregory Vigneaux
ย 
Lori Vanzant Online Presence. Take a look!
Lori Vanzant Online Presence. Take a look!Lori Vanzant Online Presence. Take a look!
Lori Vanzant Online Presence. Take a look!
vanzan01
ย 
๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป๐—ถ๐—ป๐—ด ๐—ณ๐—ผ๐—ฟ ๐—ฎ๐—น๐—น: ๐—œ๐—ป๐—ฐ๐—น๐˜‚๐˜€๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ฎ๐—ฐ๐˜๐—ถ๐—ฐ๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐—•๐—ฒ๐˜๐˜๐—ฒ๐—ฟ ๐—˜๐˜…๐—ฝ๐—ฒ๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ๐˜€
๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป๐—ถ๐—ป๐—ด ๐—ณ๐—ผ๐—ฟ ๐—ฎ๐—น๐—น: ๐—œ๐—ป๐—ฐ๐—น๐˜‚๐˜€๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ฎ๐—ฐ๐˜๐—ถ๐—ฐ๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐—•๐—ฒ๐˜๐˜๐—ฒ๐—ฟ ๐—˜๐˜…๐—ฝ๐—ฒ๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ๐˜€๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป๐—ถ๐—ป๐—ด ๐—ณ๐—ผ๐—ฟ ๐—ฎ๐—น๐—น: ๐—œ๐—ป๐—ฐ๐—น๐˜‚๐˜€๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ฎ๐—ฐ๐˜๐—ถ๐—ฐ๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐—•๐—ฒ๐˜๐˜๐—ฒ๐—ฟ ๐—˜๐˜…๐—ฝ๐—ฒ๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ๐˜€
๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป๐—ถ๐—ป๐—ด ๐—ณ๐—ผ๐—ฟ ๐—ฎ๐—น๐—น: ๐—œ๐—ป๐—ฐ๐—น๐˜‚๐˜€๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ฎ๐—ฐ๐˜๐—ถ๐—ฐ๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐—•๐—ฒ๐˜๐˜๐—ฒ๐—ฟ ๐—˜๐˜…๐—ฝ๐—ฒ๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ๐˜€
Friends of Figm a, Sydney
ย 
Minimalist Pitch Deck by slide Slidesgo.pptx
Minimalist Pitch Deck by slide Slidesgo.pptxMinimalist Pitch Deck by slide Slidesgo.pptx
Minimalist Pitch Deck by slide Slidesgo.pptx
ESTEFANOANDREYGARCIA
ย 
Download Chimera Tool Setup V42.47.0924 [Latest Version]
Download Chimera Tool Setup V42.47.0924 [Latest Version]Download Chimera Tool Setup V42.47.0924 [Latest Version]
Download Chimera Tool Setup V42.47.0924 [Latest Version]
Designer
ย 
Hi! I'm Lori Vanzant. Please take a look
Hi! I'm Lori Vanzant. Please take a lookHi! I'm Lori Vanzant. Please take a look
Hi! I'm Lori Vanzant. Please take a look
vanzan01
ย 
PPT UNTUK ISU STRATEGIS (1).pptx PPT UNTUK ISU STRATEGIS (1).pptx
PPT UNTUK ISU STRATEGIS (1).pptx PPT UNTUK ISU STRATEGIS (1).pptxPPT UNTUK ISU STRATEGIS (1).pptx PPT UNTUK ISU STRATEGIS (1).pptx
PPT UNTUK ISU STRATEGIS (1).pptx PPT UNTUK ISU STRATEGIS (1).pptx
rachmatunnisa29
ย 
dFdDVWeb_Design_Basics_Presentation.pptx
dFdDVWeb_Design_Basics_Presentation.pptxdFdDVWeb_Design_Basics_Presentation.pptx
dFdDVWeb_Design_Basics_Presentation.pptx
AKSHAYKAMBLE806728
ย 
interpolacrcrdcrdrcrdctctfct frfctfction.ppt
interpolacrcrdcrdrcrdctctfct frfctfction.pptinterpolacrcrdcrdrcrdctctfct frfctfction.ppt
interpolacrcrdcrdrcrdctctfct frfctfction.ppt
pawan070201
ย 
STOCK ANALYSYS.pptx manajemen keuangan s
STOCK ANALYSYS.pptx manajemen keuangan sSTOCK ANALYSYS.pptx manajemen keuangan s
STOCK ANALYSYS.pptx manajemen keuangan s
kfdpontianak2012
ย 
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdfEEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
CastroAngeloReoD
ย 
Emirates Agriculture Prensentation Badges GOLD.pdf
Emirates Agriculture Prensentation Badges GOLD.pdfEmirates Agriculture Prensentation Badges GOLD.pdf
Emirates Agriculture Prensentation Badges GOLD.pdf
asfianoor1
ย 
Presentation mockup using lots of animals
Presentation mockup using lots of animalsPresentation mockup using lots of animals
Presentation mockup using lots of animals
ChunChihChenPhD
ย 
COTTER and KNUCKleeeeeeeeeeeeeeeeeee.pptx
COTTER and  KNUCKleeeeeeeeeeeeeeeeeee.pptxCOTTER and  KNUCKleeeeeeeeeeeeeeeeeee.pptx
COTTER and KNUCKleeeeeeeeeeeeeeeeeee.pptx
ayushjadon04
ย 
Take this ppt refference and give content on mahindra commitment to sustainab...
Take this ppt refference and give content on mahindra commitment to sustainab...Take this ppt refference and give content on mahindra commitment to sustainab...
Take this ppt refference and give content on mahindra commitment to sustainab...
kochars428
ย 
mid-term all revisions g11 s1.pmdzs,zxptx
mid-term all revisions g11 s1.pmdzs,zxptxmid-term all revisions g11 s1.pmdzs,zxptx
mid-term all revisions g11 s1.pmdzs,zxptx
omar164646
ย 
Templates Wind Generator.pdf ahรญ. Ais d Ai d f
Templates Wind Generator.pdf ahรญ. Ais d Ai d fTemplates Wind Generator.pdf ahรญ. Ais d Ai d f
Templates Wind Generator.pdf ahรญ. Ais d Ai d f
jeremysegundob
ย 
behiriskfactorsxyzkskeb210217133906 (1).pdf
behiriskfactorsxyzkskeb210217133906 (1).pdfbehiriskfactorsxyzkskeb210217133906 (1).pdf
behiriskfactorsxyzkskeb210217133906 (1).pdf
ShakibulHasan14
ย 
Lori Vanzant Portfolio. Please take a look !
Lori Vanzant  Portfolio. Please take a look !Lori Vanzant  Portfolio. Please take a look !
Lori Vanzant Portfolio. Please take a look !
vanzan01
ย 
Baby panda 400.pdf de ciencias naturales
Baby panda 400.pdf de ciencias naturalesBaby panda 400.pdf de ciencias naturales
Baby panda 400.pdf de ciencias naturales
debbie loaiza
ย 
Are you Transitioning or Refining Now..?
Are you Transitioning or Refining Now..?Are you Transitioning or Refining Now..?
Are you Transitioning or Refining Now..?
Gregory Vigneaux
ย 
Lori Vanzant Online Presence. Take a look!
Lori Vanzant Online Presence. Take a look!Lori Vanzant Online Presence. Take a look!
Lori Vanzant Online Presence. Take a look!
vanzan01
ย 
๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป๐—ถ๐—ป๐—ด ๐—ณ๐—ผ๐—ฟ ๐—ฎ๐—น๐—น: ๐—œ๐—ป๐—ฐ๐—น๐˜‚๐˜€๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ฎ๐—ฐ๐˜๐—ถ๐—ฐ๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐—•๐—ฒ๐˜๐˜๐—ฒ๐—ฟ ๐—˜๐˜…๐—ฝ๐—ฒ๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ๐˜€
๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป๐—ถ๐—ป๐—ด ๐—ณ๐—ผ๐—ฟ ๐—ฎ๐—น๐—น: ๐—œ๐—ป๐—ฐ๐—น๐˜‚๐˜€๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ฎ๐—ฐ๐˜๐—ถ๐—ฐ๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐—•๐—ฒ๐˜๐˜๐—ฒ๐—ฟ ๐—˜๐˜…๐—ฝ๐—ฒ๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ๐˜€๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป๐—ถ๐—ป๐—ด ๐—ณ๐—ผ๐—ฟ ๐—ฎ๐—น๐—น: ๐—œ๐—ป๐—ฐ๐—น๐˜‚๐˜€๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ฎ๐—ฐ๐˜๐—ถ๐—ฐ๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐—•๐—ฒ๐˜๐˜๐—ฒ๐—ฟ ๐—˜๐˜…๐—ฝ๐—ฒ๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ๐˜€
๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป๐—ถ๐—ป๐—ด ๐—ณ๐—ผ๐—ฟ ๐—ฎ๐—น๐—น: ๐—œ๐—ป๐—ฐ๐—น๐˜‚๐˜€๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ฎ๐—ฐ๐˜๐—ถ๐—ฐ๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐—•๐—ฒ๐˜๐˜๐—ฒ๐—ฟ ๐—˜๐˜…๐—ฝ๐—ฒ๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ๐˜€
Friends of Figm a, Sydney
ย 
Minimalist Pitch Deck by slide Slidesgo.pptx
Minimalist Pitch Deck by slide Slidesgo.pptxMinimalist Pitch Deck by slide Slidesgo.pptx
Minimalist Pitch Deck by slide Slidesgo.pptx
ESTEFANOANDREYGARCIA
ย 
Download Chimera Tool Setup V42.47.0924 [Latest Version]
Download Chimera Tool Setup V42.47.0924 [Latest Version]Download Chimera Tool Setup V42.47.0924 [Latest Version]
Download Chimera Tool Setup V42.47.0924 [Latest Version]
Designer
ย 
Hi! I'm Lori Vanzant. Please take a look
Hi! I'm Lori Vanzant. Please take a lookHi! I'm Lori Vanzant. Please take a look
Hi! I'm Lori Vanzant. Please take a look
vanzan01
ย 
PPT UNTUK ISU STRATEGIS (1).pptx PPT UNTUK ISU STRATEGIS (1).pptx
PPT UNTUK ISU STRATEGIS (1).pptx PPT UNTUK ISU STRATEGIS (1).pptxPPT UNTUK ISU STRATEGIS (1).pptx PPT UNTUK ISU STRATEGIS (1).pptx
PPT UNTUK ISU STRATEGIS (1).pptx PPT UNTUK ISU STRATEGIS (1).pptx
rachmatunnisa29
ย 
dFdDVWeb_Design_Basics_Presentation.pptx
dFdDVWeb_Design_Basics_Presentation.pptxdFdDVWeb_Design_Basics_Presentation.pptx
dFdDVWeb_Design_Basics_Presentation.pptx
AKSHAYKAMBLE806728
ย 
interpolacrcrdcrdrcrdctctfct frfctfction.ppt
interpolacrcrdcrdrcrdctctfct frfctfction.pptinterpolacrcrdcrdrcrdctctfct frfctfction.ppt
interpolacrcrdcrdrcrdctctfct frfctfction.ppt
pawan070201
ย 

Fundamental CSS3

  • 1. Fundamental CSS3 TRAINING HARI #2 โ€“ ACHMAD SOLICHIN (@ACHMATIM)
  • 2. Agenda ๏ฑ What is CSS3 ? ๏ฑ CSS3 Media Queries ๏ฑ CSS3 Visual Effects ๏ฑ CSS3 Tools
  • 4. ๏ฑ Layout ๏ฑ Colors ๏ฑ Fonts and text ๏ฑ Backgrounds ๏ฑ Borders ๏ฑ Floats Penggunaan CSS
  • 5. Komponen Dasar CSS ๏ฑ Elemen ๏ฑ Atribut ๏ฑ Selector ๏ฑ Properties
  • 6. CSS Selector ๏ฑ Tag ๏ฑ ID ๏ฑ Class p { text-align:justify; color:blue; } #header { float:left; margin:10px; } .judul { font-size:15px; background-color:#0000ff; }
  • 7. Relasi antar Selector ๏ฑ Turunan (Descendant) ๏ฑ (E F ) ๏ƒ  Selector F merupakan bagian dari E secara struktural. ๏ฑ Anak (Child) ๏ฑ (E > F) ๏ƒ  Selector F merupakan anak (secara hierarki) dari E. ๏ฑ Saudara dekat (Adjancent Sibling) ๏ฑ (E + F) ๏ƒ  Selector F merupakan selector yang secara structural satu parent dengan E. ๏ฑ Saudara umum (General Sibling) ๏ฑ (E ~ F) ๏ƒ  Selector F adalah satu parent dengan E dan memiliki hubungan secara struktur.
  • 8. Atribute Selector ๏ฑ E[attr] ๏ฑ Seleksi semua selector E yang memiliki atribut โ€˜attrโ€™ ๏ฑ Contoh: input[required] ๏ฑ E[attr = val] ๏ฑ Seleksi semua selector E yang memiliki atribut โ€˜attrโ€™ dengan nilai โ€˜valโ€™ ๏ฑ Contoh: input[type=checkbox] ๏ฑ E[attr |= val] ๏ฑ Seleksi semua selector E yang memiliki atribut โ€˜attrโ€™ dan value sama atau diawali dengan โ€˜valโ€™ ๏ฑ Contoh: p[lang |= โ€œenโ€] ๏ฑ E[attr ~= val] ๏ฑ Seleksi semua selector E yang memiliki atribut โ€˜attrโ€™ dan value mengandung kata โ€˜valโ€™ ๏ฑ Contoh: .info[title ~= โ€œmoreโ€]
  • 9. Atribute Selector ๏ฑ E[attr ^= val] ๏ฑ Seleksi semua selector E yang memiliki atribut โ€˜attrโ€™ dan value diawali dengan โ€˜valโ€™ ๏ฑ E[attr $= val] ๏ฑ Seleksi semua selector E yang memiliki atribut โ€˜attrโ€™ dan value diakhiri dengan โ€˜valโ€™ ๏ฑ E[attr *= val] ๏ฑ Seleksi semua selector E yang memiliki atribut โ€˜attrโ€™ dan value mengandung kata โ€˜valโ€™
  • 12. CSS Pseudo-class ๏ฑ :link ๏ฑ :visited ๏ฑ :hover ๏ฑ :active ๏ฑ :focus ๏ฑ :enabled ๏ฑ :disabled ๏ฑ :checked ๏ฑ :indeterminate ๏ฑ :target ๏ฑ :default ๏ฑ :valid ๏ฑ :invalid ๏ฑ :in-range ๏ฑ :out-of-range ๏ฑ :required ๏ฑ :optional ๏ฑ :read-only ๏ฑ :read-write
  • 13. Keunggulan CSS3 ๏ฑ Bagian dari teknologi HTML5 ๏ฑ Lebih cepat ๏ฑ Tidak terlalu bergantung pada Javascript dan plugin. ๏ฑ Mempermudah pengelolaan situs. ๏ฑ Lebih adaptive ๏ฑ Responsive design
  • 14. Yang baru di CSS3 ๏ฑ 2D Transforms ๏ฑ Backgrounds & Borders ๏ฑ Color ๏ฑ Values and Units ๏ฑ Selectors ๏ฑ Web Fonts ๏ฑ Media Queries ๏ฑ Namespaces ๏ฑ 3D Transforms ๏ฑ Animations ๏ฑ Gradient ๏ฑ CSS Exclusions (Floats) ๏ฑ Flexible Box (โ€œFlexboxโ€) Layout ๏ฑ Grid Layout ๏ฑ Multi-column Layout ๏ฑ Region ๏ฑ SVG Filter Effects ๏ฑ Text Shadow ๏ฑ Transitions
  • 15. CSS3 Kompatibilitas Browser ๏ฑ Beberapa perintah CSS secara khusus berlaku di browser tertentu saja. ๏ฑ -moz-* ๏ƒ  Mozilla Firefox ๏ฑ -webkit-* ๏ƒ  Webkit-based browser ๏ฑ Ada juga beberapa property CSS yang โ€œdiperlakukanโ€ berbeda oleh setiap browser. ๏ฑ Solusi? ๏ฑ Gunakan โ€œimportantโ€ ๏ƒ  ! ๏ฑ Coba di beberapa browser sekaligus ๏ƒ  Firefox, Chrome, IE ๏ฑ Gunakan tool cross-browser-tester.
  • 16. CSS3 Kompatibilitas Browser IDEALNYAโ€ฆ a.polaroid:active { z-index: 999; border-color: #6A6A6A; box-shadow: 15px 15px20px rgba(0,0, 0, 0.4); transform: rotate(0deg) scale(1.05); } KENYATAANNYAโ€ฆ a.polaroid:active{ z-index: 999; border-color: #6A6A6A; -webkit-box-shadow: 15px 15px20px rgba(0,0, 0, 0.4); -moz-box-shadow: 15px 15px 20px rgba(0,0, 0, 0.4); box-shadow: 15px 15px20px rgba(0,0, 0, 0.4); -webkit-transform: rotate(0deg) scale(1.05); -moz-transform: rotate(0deg) scale(1.05); transform: rotate(0deg) scale(1.05); }
  • 17. CSS3 Kompatibilitas Browser ๏ฑ CSS3 Property browser support chart - http://www.findmebyip.com/litmus ๏ฑ CSS3 Selector browser support chart - http://www.standardista.com/css3/css3-selector- browser-support ๏ฑ CSS3 Specifications - http://www.w3.org/standards/techs/css#w3c_all ๏ฑ Cross-browser Tester ๏ฑ http://tredosoft.com/Multiple_IE ๏ฑ http://crossbrowsertesting.com (berbayar) ๏ฑ http://browsershots.org (gratis)
  • 18. Contoh .gradient { color: #fff; /*fallback background color & image*/ background: #aaaaaa url(gradient_slice.jpg) 0 0 x-repeat; /* gradient for Mozilla */ background-image: -moz-linear-gradient(top, #07407c, #aaaaaa); /* gradient for the Webkits */ background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #07407c),colorstop(1, #aaaaaa)); /* filter for IE8 (& IE9) */ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#07407c', EndColorStr='#aaaaaa')"; /* filter for IE7 and lower */ filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#07407c', EndColorStr='#aaaaaa'); }
  • 20. CSS3 Media Query ๏ฑ Layout website harus mampu menyesuaikan diri dengan device yang digunakan secara otomatis, untuk meningkatkan kenyamanan pengguna. ๏ฑ CSS3 Media Query memungkinkan untuk mendefinisikan perintah CSS yang akan dijalankan sesuai dengan perangkat / device yang digunakan. ๏ฑ Jenis media: ๏ฑ Desktop browser, screen, print ๏ฑ Mobile browser ๏ฑ Tablet form-factor ๏ฑ Televisi ๏ฑ Game console
  • 21. Browser Support Media Query ๏ฑ IE9+ ๏ฑ Firefox 3.5+ ๏ฑ Safari 3.2+ ๏ฑ Chrome 8+ ๏ฑ Opera 10.6+ ๏ฑ iOS 3.2+ ๏ฑ Opera Mini 5+ ๏ฑ Opera Mobile 10+ ๏ฑ Android 2.1+
  • 22. Contoh @media screen and (max-width: 600px) { body { font-size: 80%; } } @media screen and (min-width:320px) and (max-width:480px) {} @media not print and (max-width:600px) {}
  • 23. Property CSS Media ๏ฑ min/max-width ๏ฑ min/max-height ๏ฑ device-width ๏ฑ device-height ๏ฑ orientation ๏ฑ aspect-ratio ๏ฑ device-aspect-ratio ๏ฑ color ๏ฑ color-index ๏ฑ monochrome ๏ฑ resolution
  • 28. Smartphone (Portrait & Landscape) /* Smartphones (portrait and landscape) ----------- */ @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { /* Styles */ }
  • 29. Smartphone (Portrait & Landscape) /* Smartphones (landscape) ----------- */ @media only screen and (min-width : 321px) { /* Styles */ } /* Smartphones (portrait) ----------- */ @media only screen and (max-width : 320px) { /* Styles */ }
  • 30. iPads (Portrait & Landscape) /* iPads (portrait and landscape)- */ @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) { /* Styles */ } /* iPads (landscape) -------- */ @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { /* Styles */ } /* iPads (portrait) -----*/ @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { /* Styles */ }
  • 31. Desktop /* Desktops and laptops ----- */ @media only screen and (min-width : 1224px) { /* Styles */ } /* Large screens ----------- */ @media only screen and (min-width : 1824px) { /* Styles */ }
  • 32. iPhone 4 /* iPhone 4 ----------- */ @media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) { /* Styles */ }
  • 34. CSS3 Color ๏ฑ Hexadecimal, contoh: #ff0000, #ffff00 ๏ฑ Textual, contoh: red, green ๏ฑ RGB (Red-Green-Blue), contoh: rgb(255,255,255) ๏ฑ RGBA (Red-Green-Blue-Alpha), contoh: rgba(0, 0, 0, 0.2) ๏ฑ HSL (Hue-Saturation-Lightness) ๏ฑ Hue : 0-359. 0=red, 60=yellow, 120=green ๏ฑ Saturation: 0-100% ๏ฑ Lightness: 0-100% ๏ฑ HSLA (Hue-Saturation-Lightness-Alpha)
  • 35. CSS3 Color - RGBA
  • 36. CSS3 Rounded Corner ๏ฑ Safari, Chrome, Opera, IE9+, dan Firefox 4+: border-radius: 25px; ๏ฑ Firefox 3 dan sebelumnya: -moz-border-radius: 25px;
  • 37. CSS3 Rounded Corner border-top-left-radius: 5px; border-top-right-radius: 10px; border-bottom-right-radius: 15px; border-bottom-left-radius: 40px; -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 10px; -moz-border-radius-bottomright: 15px; -moz-border-radius-bottomleft: 40px; New Browser Old Browser
  • 38. CSS3 Box Shadow -webkit-box-shadow: 2px 5px 0 0 rgba(72,72,72,1); -moz-box-shadow: 2px 5px 0 0 rgba(72,72,72,1); box-shadow: 2px 5px 0 0 rgba(72,72,72,1);
  • 39. CSS3 Box Shadow Example 1 button { padding:5px 30px; border:1px solid maroon; border-radius:4px; -webkit-box-shadow: inset 0 1px 3px pink, inset 0 -5px 15px maroon, 0 2px 1px black; -moz-box-shadow: inset 0 1px 3px pink, inset 0 -5px 15px maroon, 0 2px 1px black; box-shadow: inset 0 1px 3px pink, inset 0 -5px 15px maroon, 0 2px 1px black; background-color:red; color:white; text-shadow:0 1px 1px black; }
  • 40. CSS3 Box Shadow Example 2
  • 41. CSS3 Text Shadow /* single shadow */ text-shadow: topOffset leftOffset blurRadius color; /* multiple shadows */ text-shadow: topOffset1 leftOffset1 blurRadius1 color1, topOffset2 leftOffset2 blurRadius2 color2, topOffset3 leftOffset3 blurRadius3 color3;
  • 43. CSS3 Text Shadow text-shadow: 3px 3px 1px rgba(0, 0, 0, 0.5);
  • 45. CSS3 Text Shadow vs Image
  • 47. CSS3 Opacity .opacity { background-color: #3C4C55; color: #fff; opacity: 0.5; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha (opacity=20)"; /* IE8 only */ filter: progid:DXImageTransform.Microsoft.Alpha (opacity=20); /* IE6, IE7, and IE8 */ filter: alpha(opacity=20); }
  • 49. CSS3 Gradient ๏ฑ Linier Gradient ๏ฑ Radial Gradient ๏ฑ Repeating Gradient
  • 50. CSS3 Linier Gradient #ad2 { background-image: -moz-linear-gradient( 270deg, rgba(0,0,0,0.4) 0, rgba(0,0,0,0) 37%, rgba(0,0,0,0) 83%, rgba(0,0,0,0.06) 92%, rgba(0,0,0,0) 98% ); background-image: -webkit-linear-gradient( 270deg, rgba(0,0,0,0.4) 0, rgba(0,0,0,0) 37%, rgba(0,0,0,0) 83%, rgba(0,0,0,0.06) 92%, rgba(0,0,0,0) 98% ); background-image: -o-linear-gradient( 270deg, rgba(0,0,0,0.4) 0, rgba(0,0,0,0) 37%, rgba(0,0,0,0) 83%, rgba(0,0,0,0.06) 92%, rgba(0,0,0,0) 98% ); }
  • 51. CSS3 Radial Gradient input[type=submit] { background-color: #333; /* Old WebKit */ background-image: -webkit- gradient(radial, 30% 120%, 0, 30% 120%, 100, color-stop(0,rgba(144,144,144,1)), color-stop(1,rgba(72,72,72,1))); /* W3C for Mozilla */ background-image: -moz-radial- gradient(30% 120%, circle, rgba(144,144,144,1) 0%, rgba(72,72,72,1) 50%); /* W3C for new WebKit */ background-image: -webkit-radial- gradient(30% 120%, circle, rgba(144,144,144,1) 0%, rgba(72,72,72,1) 50%); /* W3C unprefixed */ background-image: radial- gradient(30% 120%, circle, rgba(144,144,144,1) 0%, rgba(72,72,72,1) 50%); }
  • 52. CSS3 Repeating Gradient .repeat_linear_1 { background-image: -webkit-repeating-linear-gradient (left, rgba(0,0,0,0.5) 10%, rgba(0,0,0,0.1) 30%); } .repeat_radial_2 { background-image: -webkit-repeating-radial-gradient (top left, circle, rgba(0,0,0,0.9), rgba(0,0,0,0.1) 10%, rgba(0,0,0,0.5) 20%); } .multiple_gradients_3 { background-image: -webkit-repeating-linear-gradient (left, rgba(0,0,0,0.5) 10%, rgba(0,0,0,0.1) 30%), -webkit-repeating-radial-gradient (top left, circle, rgba(0,0,0,0.9), rgba(0,0,0,0.1) 10%, rgba(0,0,0,0.5) 20%); }
  • 54. CSS3 Multiple Background .multi-bg { background: url(/https/www.slideshare.net/image/css3-multi-top.png) no-repeat, url(/image/css3-multi-bottom.png) no-repeat 0 100%, url(/image/css3-multi-repeat.png) repeat-y; background-color: #516ac4; }
  • 55. CSS3 Multiple Column Layout .columns { -moz-column-count: 3; -moz-column-gap: 20px; -moz-column-rule: 1px dotted #666; -webkit-column-count: 3; -webkit-column-gap: 20px; -webkit-column-rule: 1px dotted #666; }
  • 56. CSS3 Border Image .border-img { background-color: #516ac4; border: 10px solid; border-image: url(/https/www.slideshare.net/image/css3-border-img.png) 10 10 10 10 repeat repeat; -moz-border-image: url(/https/www.slideshare.net/image/css3-border-img.png) 10 10 10 10 repeat repeat; -webkit-border-image: url(/https/www.slideshare.net/image/css3-border-img.png) 10 10 10 10 repeat repeat; }
  • 57. CSS3 Background Size .background-size { background-image: url(http://domain.tld/path/bg.png); -webkit-background-size: 50% 50%; /* Safari */ -khtml-background-size: 50% 50%; /* Konquer */ -moz-background-size: 50% 50%; /* Firefox */ -o-background-size: 50% 50%; /* Opera */ background-size: 50% 50%; /* CSS3 */ }
  • 58. CSS3 Custom Text-Highlight Style *::selection { background: #E6E5C3; color: #291F16; } *::-moz-selection { background: #E6E5C3; color: #291F16; }
  • 59. CSS3 Web Font ๏ฑ Tidak semua font tersedia di komputer klien. ๏ฑ CSS3 memungkinkan untuk meng-embed font yang diinginkan di web, sehingga tidak lagi bergantung pada ketersediaan font di klien ๏ฑ Tipe font: ๏ฑ .eot ๏ฑ .ttf ๏ฑ .svg ๏ฑ .woff ๏ฑ Download font: ๏ฑ http://www.fontsquirrel.com/fonts ๏ฑ http://www.exljbris.com/
  • 60. CSS3 Web Font @font-face { /* declare fonts */ font-family: "GoodDog"; src: url("fonts/GoodDog-webfont.eot"); src: local("GoodDog"), local("GoodDog"), url("fonts/GoodDog-webfont.woff") format("woff"), url("fonts/GoodDog-webfont.ttf") format("truetype"), url("fonts/GoodDog-webfont") format("svg"); } /* display fonts */ h1 { font: 24px/1 GoodDog, Verdana, sans-serif; } h2 { font: 18px/1 GoodDog, Verdana, sans-serif; } h3 { font: 14px/1 GoodDog, Verdana, sans-serif; }
  • 66. CSS3 Generator ๏ฑ http://border-radius.com ๏ฑ http://www.css3maker.com ๏ฑ http://www.colorzilla.com/gradient-editor/ ๏ฑ http://csscorners.com ๏ฑ http://border-image.com
  • 67. CSS3 Helper Script ๏ฑ Membantu browser IE8 atau sebelumnya agar kompatibel dengan CSS3. ๏ฑ IE7-JS http://code.google.com/p/ie7-js/ ๏ฑ CSS3Pie http://css3pie.com ๏ฑ CSS Sandpaper http://www.useragentman.com/blog/csssandpaper-a-css3-javascript-library ๏ฑ Modernizr http://modernizr.com ๏ฑ Untuk mendeteksi kompatibilitas browser dengan perintah CSS3 dan HTML5 ๏ฑ How to: ๏ฑ http://www.alistapart.com/articles/takingadvantage-of-html5-and-css3-withmodernizr/ ๏ฑ http://webdesignernotebook.com/css/how-to-use-modernizr ๏ฑ http://www.ericlightbody.com/2010/modernizr-your-tool-for-html5-and-css3-functionality
  • 68. CSS3 Nice Example ๏ฑ Pure CSS3 Page Flip Effect - http://www.romancortes.com/ficheros/page-flip.html ๏ฑ Selectable Headline with Color Transitions - http://trentwalton.com/bgclip/ ๏ฑ Our Solar Systems in CSS3 - http://neography.com/journal/our-solar-system-in-css3/ ๏ฑ CSS World Clocks - http://lensco.be/2010/04/04/css-world-clocks/ ๏ฑ CSS 3D Text Tower - http://css-tricks.com/3d-text-tower/ ๏ฑ Sexy Tooltips with Just CSS - http://sixrevisions.com/css/css-only-tooltips/ ๏ฑ Sexy Image Hover Effects using CSS3 - http://www.nikesh.me/blog/2010/05/sexy-image-hover- effects-using-css3/ ๏ฑ CSS Gradient Dropdown Menu - http://www.webdesignerwall.com/demo/css3-dropdown- menu/css-gradient-dropdown.html ๏ฑ CSS Flexbox - http://css-tricks.com/snippets/css/a-guide-to-flexbox/
  • 69. Resources ๏ฑ (Book) Alexis Goldstein, Louis Lazaris, and Estelle Weyl. 2011. HTML5 & CSS3 FOR THE REAL WORLD. SitePoint Pty. Ltd ๏ฑ (Presentation) Doris Chen. Introduction to CSS3. http://www.slideshare.net/doris1/introduction-to-css3-14547955 ๏ฑ (Presentation) Denise Jacobs. Introduction to CSS3. http://www.slideshare.net/denisejacobs/intro-to-css3 ๏ฑ http://css-tricks.com/snippets/
  • 70. Terima Kasih ๏ฑ http://achmatim.net ๏ฑ [email protected] ๏ฑ http://twitter.com/achmatim ๏ฑ http://facebook.com/achmatim ๏ฑ http://slideshare.net/achmatim