• Home
  • About
  • Portfolio
  • Link Exchange
  • Contact
30 Jul 2012
0

Bermain-main dengan CSS Text Shadow [Iseng]

by cssweaver
Roleartikel, css, css3, tutorial

Satu catatan yang perlu diingat adalah bahwa tanpa CSS3 dan Javascript, HTML5 adalah HTML (normal / tradisional) Kita tidak bisa melakukan lebih banyak lagi kecuali menempatkan jenis baru.

Beberapa hari lalu saya bermain dengan CSS3 properti dan saya membuat efek teks menggunakan properti bayangan Teks. Saya telah menggunakan hanya CSS untuk membuat efek shadow ini. Menggunakan CSS Text Shadow dan properti Transisi yang sama.

HTML Markup


<html>
<body>
<div>
<h1>C</h1>
</div>
<div>
<h1>S</h1>
</div>
<div>
<h1>S</h1>
</div>
</body>
</html>

CSS Code


<style>
.span4
{
width:10;
float: left;
margin-right: 100px;
margin-left: 100px;
}
h1
{
font-family: 'Junge', cursive;
font-size: 100px;
font-weight: bold;
text-transform: uppercase;
cursor: pointer;
/* CSS Transition */
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-o-transition: all 1s ease;
color: #8D3737;
}

h1.first:hover
{
text-shadow: 40px 0px 0px #92AE57, 80px 0px 0px #00aae9,
-40px 0px 0px #92AE57, -80px 0px 0px #00aae9;
}

h1.second:hover
{
text-shadow: 40px 0px 0px #00aae9, 80px 0px 0px #92AE57,
-40px 0px 0px #00aae9, -80px 0px 0px #92AE57, 0px 50px 0px #00aae9,
0px 100px 0px #FFE13B, 0px -50px 0px #00aae9, 0px -100px 0px #92AE57;
}

h1.third:hover
{
text-shadow: 40px 30px 0px #92AE57, 80px 60px 0px #FFE13B,
-40px -30px 0px #393A39, -80px -60px 0px #00aae9,
40px -30px 0px #92AE57, 80px -60px 0px #00aae9,
-40px 30px 0px #393A39, -80px 60px 0px #FFE13B;
}
</style>

Nah sekarang tinggal lihat hasilnya. kira kira seperti berikut ini :

css-shadow-text

Related Posts

  • WYSIWYG dan WYSIWYM: Keuntungan dan Kerugian dari Editor Teks
  • WP Theme Generator : Membuat Tema WordPress Tanpa Coding
  • WordPress Anti-Spam Plugins
  • Website Layouts: 50 Photoshop Tutorial Profesional
  • Website Design Inspiration Daftar Game Terbaik Desain Situs Web #34
Share This
Cancel Reply
Leave a Reply





Categories

  • Article
  • CSS
  • CSS3
  • Dictionary
  • Download
  • Freebies
  • Graphic Design
  • HTML5
  • Infographic
  • jQuery
  • PSD Web Design
  • User Interface
  • Web Design
  • Web Design Inspiration
  • Website Tool
  • Wordpress

Archives

  • June 2013 (11)
  • May 2013 (26)
  • April 2013 (24)
  • March 2013 (26)
  • February 2013 (25)
  • January 2013 (33)
  • December 2012 (27)
  • November 2012 (21)
  • October 2012 (25)
  • September 2012 (21)
  • August 2012 (35)
  • July 2012 (44)
  • June 2012 (42)
  • May 2012 (37)
  • April 2012 (59)
  • March 2012 (45)

Recent Posts Widget

Contoh Webdesign dengan Google Maps Original Concept #48
May 29, 2013
Web Designing dengan Latar Belakang Video
May 28, 2013
Memahami Website Design Flat atau Desain Datar
May 28, 2013
Contoh Website Hitam Putih Website Designs 2013 #47
May 28, 2013
Kumpulan Resource CSS3 Animasi dan Transisi
April 19, 2013

Popular Posts

Cara Buat Slider Gambar menggunakan jQuery dan CSS3
57 Comments
30 Design Keren untuk Halaman 404 Error
42 Comments
Kumpulan Blogger Theme Anime [Freebies]
42 Comments
Kumpulan Plugin jQuery Image dan Sliders [Tutorial and Freebies]
36 Comments
25+ Contoh Website HTML5 dan CSS3 Terbaru #015
26 Comments

Recent Comments

  • @omjonie on Kumpulan Resource CSS3 Animasi dan Transisi
  • cssweaver on 50+ Web Designs Inspiration Penuh Warna #018
  • cssweaver on Contoh Webdesign dengan Google Maps Original Concept #48
  • XAMthone Plus on Contoh Webdesign dengan Google Maps Original Concept #48
  • XAMthone Plus on 50+ Web Designs Inspiration Penuh Warna #018

Backlink




Top Web-Design Sites


© Copyright 2012, Designed by CSS-weaver wkurniadhi@gmail.com