<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2001756452660823706</id><updated>2024-11-05T19:04:30.650-08:00</updated><category term="CSS3 Transforms"/><category term="CSS3 Introduction"/><category term="Borders"/><category term="CSS3 Borders"/><category term="CSS3 Text Properties"/><category term="Hover"/><category term="Links"/><category term="Lists"/><category term="Styling Links"/><category term="3D Transforms"/><category term="All Text Properties"/><category term="CSS Background"/><category term="CSS Lists"/><category term="CSS Syntax"/><category term="CSS3 Animations"/><category term="CSS3 Gradients"/><category term="Download CSS3 Tutorial"/><category term="Image"/><category term="@keyframes Rule"/><category term="Advance Links"/><category term="CSS How to"/><category term="CSS Selectors"/><category term="CSS3"/><category term="CSS3 Fonts"/><category term="CSS3 Syntax"/><category term="Easy CSS3"/><category term="Filters"/><category term="Integrating CSS into HTML Pages"/><category term="Linear Gradients"/><category term="Matrix"/><category term="Radial Gradients"/><category term="Rotate"/><category term="Scale"/><category term="Skew"/><category term="Styling Lists"/><category term="Table"/><category term="Text Shadow"/><category term="Tint"/><category term="Translate"/><category term="buttons"/><category term="designing tables"/><category term="drop-down"/><category term="tables"/><title type='text'>CSS3 (Web Designing)</title><subtitle type='html'>Your CSS and CSS3 guuide. From beginner to expert!!!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default?start-index=26&amp;max-results=25'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>32</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-4174631544518300663</id><published>2015-01-15T04:41:00.000-08:00</published><updated>2015-01-15T04:41:59.218-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3D Transforms"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Transforms"/><category scheme="http://www.blogger.com/atom/ns#" term="Hover"/><title type='text'>Zoom Hover Effect with CSS3 Only</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2j2uL_5NIGdH712skscY4yR8PKCWwv4S92sejY5Nnp9dCBuyYA8_Gmj-_dvWAfpRIXBPz4Mzshz630dWBTtKTTEu_cBCbrZ707Y3_F8DxwVNtWB8gmA4MYeomemL-HrTI7wCMm1BIFdQ/s1600/Screenshot+from+2015-01-14+22:26:49.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2j2uL_5NIGdH712skscY4yR8PKCWwv4S92sejY5Nnp9dCBuyYA8_Gmj-_dvWAfpRIXBPz4Mzshz630dWBTtKTTEu_cBCbrZ707Y3_F8DxwVNtWB8gmA4MYeomemL-HrTI7wCMm1BIFdQ/s1600/Screenshot+from+2015-01-14+22:26:49.png&quot; height=&quot;181&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
In my opinion design is the thing which really and only matters for a great site. People use to come back where they got attracted to some thing, and design is the thing which can work as a magnet for your visitors.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
In this tutorial I&#39;ll describe a cool effect which is based upon &lt;a href=&quot;http://css3wdesign.blogspot.com/search/label/CSS3%20Transforms&quot;&gt;CSS3 Transform&lt;/a&gt;&amp;nbsp;property. We will use this effect to zoom any HTML element on mouse over.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Below is the HTML code, so you can better understand the classes used in the CSS3:&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;pre&gt;&lt;b&gt;&amp;lt;&lt;/b&gt;&lt;b&gt;div&lt;/b&gt; class&lt;i&gt;=&lt;/i&gt;&lt;b&gt;&quot;dialog-popup&quot;&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;
    &lt;b&gt;&amp;lt;&lt;/b&gt;&lt;b&gt;div&lt;/b&gt; class&lt;i&gt;=&lt;/i&gt;&lt;b&gt;&quot;dialog-container&quot;&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;
        &lt;b&gt;&amp;lt;&lt;/b&gt;&lt;b&gt;h1&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;Hover On The Browser Icons&lt;b&gt;&amp;lt;/&lt;/b&gt;&lt;b&gt;h1&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;
        &lt;b&gt;&amp;lt;&lt;/b&gt;&lt;b&gt;div&lt;/b&gt; class&lt;i&gt;=&lt;/i&gt;&lt;b&gt;&quot;browser-icon&quot;&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;
         &lt;b&gt;&amp;lt;&lt;/b&gt;&lt;b&gt;a&lt;/b&gt; href&lt;i&gt;=&lt;/i&gt;&lt;b&gt;&quot;#&quot;&lt;/b&gt; class&lt;i&gt;=&lt;/i&gt;&lt;b&gt;&quot;chrome-icon&quot;&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;b&gt;&amp;lt;&lt;/b&gt;&lt;b&gt;i&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&amp;amp;#160;&lt;b&gt;&amp;lt;/&lt;/b&gt;&lt;b&gt;i&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;b&gt;&amp;lt;/&lt;/b&gt;&lt;b&gt;a&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;
         &lt;b&gt;&amp;lt;&lt;/b&gt;&lt;b&gt;a&lt;/b&gt; href&lt;i&gt;=&lt;/i&gt;&lt;b&gt;&quot;#&quot;&lt;/b&gt; class&lt;i&gt;=&lt;/i&gt;&lt;b&gt;&quot;moz-icon&quot;&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;b&gt;&amp;lt;&lt;/b&gt;&lt;b&gt;i&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&amp;amp;#160;&lt;b&gt;&amp;lt;/&lt;/b&gt;&lt;b&gt;i&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;b&gt;&amp;lt;/&lt;/b&gt;&lt;b&gt;a&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;
         &lt;b&gt;&amp;lt;&lt;/b&gt;&lt;b&gt;a&lt;/b&gt; href&lt;i&gt;=&lt;/i&gt;&lt;b&gt;&quot;#&quot;&lt;/b&gt; class&lt;i&gt;=&lt;/i&gt;&lt;b&gt;&quot;opera-icon&quot;&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;b&gt;&amp;lt;&lt;/b&gt;&lt;b&gt;i&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&amp;amp;#160;&lt;b&gt;&amp;lt;/&lt;/b&gt;&lt;b&gt;i&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;b&gt;&amp;lt;/&lt;/b&gt;&lt;b&gt;a&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;
         &lt;b&gt;&amp;lt;&lt;/b&gt;&lt;b&gt;a&lt;/b&gt; href&lt;i&gt;=&lt;/i&gt;&lt;b&gt;&quot;#&quot;&lt;/b&gt; class&lt;i&gt;=&lt;/i&gt;&lt;b&gt;&quot;safari-icon&quot;&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;b&gt;&amp;lt;&lt;/b&gt;&lt;b&gt;i&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&amp;amp;#160;&lt;b&gt;&amp;lt;/&lt;/b&gt;&lt;b&gt;i&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;b&gt;&amp;lt;/&lt;/b&gt;&lt;b&gt;a&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;
         &lt;b&gt;&amp;lt;&lt;/b&gt;&lt;b&gt;a&lt;/b&gt; href&lt;i&gt;=&lt;/i&gt;&lt;b&gt;&quot;#&quot;&lt;/b&gt; class&lt;i&gt;=&lt;/i&gt;&lt;b&gt;&quot;ie-icon&quot;&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;b&gt;&amp;lt;&lt;/b&gt;&lt;b&gt;i&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&amp;amp;#160;&lt;b&gt;&amp;lt;/&lt;/b&gt;&lt;b&gt;i&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;&lt;b&gt;&amp;lt;/&lt;/b&gt;&lt;b&gt;a&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;
     &lt;b&gt;&amp;lt;/&lt;/b&gt;&lt;b&gt;div&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;
    &lt;b&gt;&amp;lt;/&lt;/b&gt;&lt;b&gt;div&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;
&lt;b&gt;&amp;lt;/&lt;/b&gt;&lt;b&gt;div&lt;/b&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
I hope everyone understand the HTML shown in the above snippet. The &lt;b&gt;&amp;lt;i&amp;gt;&lt;/b&gt;&amp;nbsp;tags are used to show the icons in between there. And &lt;b&gt;&amp;amp;#160&lt;/b&gt;&amp;nbsp;is an HTML Entity. It is used to show a space in the output.&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
CSS for class &lt;i&gt;dialog-popup&lt;/i&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;pre&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;dialog-popup &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;background-color&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;333&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;background-color&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; rgba(&lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0.5&lt;/span&gt;)&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;position&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;absolute&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;left&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;top&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;%&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;%&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;overflow&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;hidden&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;color&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;333&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;font&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; 12px/&lt;span style=&quot;color: #008c00;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; Lato&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;lucida grande&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; Arial&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; Tahoma&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; Verdana&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;sans-serif&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;z-index&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Explanation&lt;/b&gt;: The things are rather simpler in the above code. The &lt;i style=&quot;font-weight: bold;&quot;&gt;z-index: 1;&lt;/i&gt;&amp;nbsp;specifies the stack order for the particular class.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
CSS for class &lt;i&gt;dialog-container&lt;/i&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;pre&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;dialog-container &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;724&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;padding&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;30&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;max-height&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;290&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;min-height&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;290&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;position&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;relative&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;top&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;50&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;%&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;margin&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;145&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;auto&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;background-color&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;fff&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #008484;&quot;&gt;-moz-border-radius&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;6&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  -webkit-border-radius&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;6&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  border-radius&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;6&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  -moz-box-shadow&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;000&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  -webkit-box-shadow&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;000&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  box-shadow&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;000&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Explanation&lt;/b&gt;: The above CSS3 will change the &lt;b&gt;div&lt;/b&gt;&amp;nbsp;with class &lt;b&gt;dialog-container&lt;/b&gt;&amp;nbsp;into a popup. Here in this code, the &lt;i&gt;&lt;b&gt;top&lt;/b&gt;&amp;nbsp;&lt;/i&gt;property sets the popup&#39;s top edge below 50% inside the &lt;b&gt;&lt;i&gt;dialog-&lt;/i&gt;&lt;/b&gt;&lt;i style=&quot;font-weight: bold;&quot;&gt;popup. &lt;/i&gt;The shadow property will create a glowing effect. &lt;i style=&quot;font-weight: bold;&quot;&gt;-webkit-&lt;/i&gt;&amp;nbsp;and &lt;i style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp;-moz-&lt;/i&gt;&amp;nbsp;are used with properties for Cross-Browser support.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
CSS to create Zooming Effect&lt;/h3&gt;
&lt;pre&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;dialog-container &lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;browser-icon &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;margin&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;50&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;text-align&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;center&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;dialog-container &lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;browser-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;padding&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;display&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;inline-block&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  border-radius&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;border&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;solid&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;fff&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  -moz-transition&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; ease &lt;span style=&quot;color: #008c00;&quot;&gt;0.&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;s&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  -o-transition&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; ease &lt;span style=&quot;color: #008c00;&quot;&gt;0.&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;s&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  -webkit-transition&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; ease &lt;span style=&quot;color: #008c00;&quot;&gt;0.&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;s&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  transition&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; ease &lt;span style=&quot;color: #008c00;&quot;&gt;0.&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;s&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;dialog-container &lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;browser-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;hover&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;border&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;solid&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;D5EAF2&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;border-bottom&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;solid&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;A1CBDA&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  -moz-transform&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; scale(&lt;span style=&quot;color: #008c00;&quot;&gt;1.1&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;1.1&lt;/span&gt;)&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  -ms-transform&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; scale(&lt;span style=&quot;color: #008c00;&quot;&gt;1.1&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;1.1&lt;/span&gt;)&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  -webkit-transform&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; scale(&lt;span style=&quot;color: #008c00;&quot;&gt;1.1&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;1.1&lt;/span&gt;)&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  transform&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; scale(&lt;span style=&quot;color: #008c00;&quot;&gt;1.1&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;1.1&lt;/span&gt;)&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;dialog-container &lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;browser-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;active&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;dialog-container &lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;browser-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;active&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;hover&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;background&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;#&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;D5EAF2&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Explanation&lt;/b&gt;: In the above CSS3 we are styling the &lt;b&gt;a&lt;/b&gt;&amp;nbsp;tags, which we have used in the above HTML markup. Actually, these &lt;b&gt;a&lt;/b&gt;&amp;nbsp;tags are the real images that we wanted to zoom on hover. In the second set of CSS properties, there are just a simple couple o things related to general styling of &lt;b&gt;a&lt;/b&gt;&amp;nbsp;tags. Transition property is used to create a nice looking transitional effect on hover. So, the styling defined below appears with some effect rather than appearing at once, which don&#39;t look so nice to me :P.&lt;br /&gt;
Now, the third set of above Code, is the &lt;b&gt;very very important&lt;/b&gt;&amp;nbsp;part. In this part we have increased the size of the &lt;b&gt;a&lt;/b&gt;&amp;nbsp;tags. But not with that &lt;b&gt;width&lt;/b&gt;&amp;nbsp;and &lt;b&gt;height&lt;/b&gt;&amp;nbsp;technique. Here we are using &lt;a href=&quot;http://css3wdesign.blogspot.com/search/label/CSS3%20Transforms&quot;&gt;CSS Transforms&lt;/a&gt;. &amp;nbsp;In&amp;nbsp;&lt;i style=&quot;font-weight: bold;&quot;&gt;.dialog-container .browser-icon a:hover&lt;/i&gt;&amp;nbsp;we have used the &lt;b&gt;&amp;nbsp;border&lt;/b&gt;&amp;nbsp;and &lt;b&gt;border-bottom&lt;/b&gt;&amp;nbsp;properties. As, you all probably know, the border is used to create a thin line around the &lt;b&gt;a&lt;/b&gt;&amp;nbsp;tags on hover (mouse over). And &lt;b&gt;border-bottom&lt;/b&gt;&amp;nbsp;is used to change the bottom border separately. The overall border is set to &lt;b&gt;1px&lt;/b&gt;&amp;nbsp;but the bottom border is set to &lt;b&gt;3px&lt;/b&gt;&amp;nbsp;which will be a thinner than the overall border around the &lt;b&gt;a&lt;/b&gt;&amp;nbsp;tags.&lt;br /&gt;
&lt;b&gt;Transform&lt;/b&gt;&amp;nbsp;property is used to change the size of &lt;b&gt;a&lt;/b&gt;&amp;nbsp;tags and its contents. &lt;b&gt;Scale(1.1,1.1)&lt;/b&gt;&amp;nbsp;will increase the width and height of &lt;b&gt;a&lt;/b&gt;&amp;nbsp;tags, when you will hover over them. The last and final set of CSS is used to change the background color of &lt;b&gt;a&lt;/b&gt;&amp;nbsp;tags on click (active). This will also add some cool effect you will see.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
CSS to Set the Icons into &lt;i&gt;a&lt;/i&gt;&amp;nbsp;tags&lt;/h3&gt;
&lt;pre&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;dialog-container &lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;browser-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;display&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;inline-block&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;104&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;104&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;background&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #400000;&quot;&gt;url&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40015a;&quot;&gt;browsericons.png&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;dialog-container &lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;browser-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;chrome-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;background-position&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;dialog-container &lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;browser-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;moz-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;background-position&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;104&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;dialog-container &lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;browser-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;opera-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;background-position&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;208&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;dialog-container &lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;browser-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;safari-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;background-position&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;312&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;dialog-container &lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;browser-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;.&lt;/span&gt;ie-icon &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: purple;&quot;&gt;{&lt;/span&gt;
  &lt;span style=&quot;color: #bb7977; font-weight: bold;&quot;&gt;background-position&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #008c00;&quot;&gt;416&lt;/span&gt;&lt;span style=&quot;color: #006600;&quot;&gt;px&lt;/span&gt; &lt;span style=&quot;color: #008c00;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: purple;&quot;&gt;}&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Explanation&lt;/b&gt;: The CSS under&amp;nbsp;&lt;b style=&quot;font-style: italic;&quot;&gt;.dialog-container .browser-icon a i &lt;/b&gt;will set the background, width and height and display for &lt;i style=&quot;font-weight: bold;&quot;&gt;&amp;lt;i&amp;gt; &amp;lt;/i&amp;gt;&lt;/i&gt;&amp;nbsp;tags inside &lt;b&gt;a&lt;/b&gt;&amp;nbsp;tags.&lt;br /&gt;
Here it is important to note that, we are not using separate images for each icon tag. But it&#39;s a single image (See image &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4JrBNFyww4e6RlyYj3MkzZOPbgY51660dF3q2Z-NvGp6k2M4OVEQ6BitM9U9RXbar4ot4mdsn5lJum_Sn8S08YPosemn1t42_iHme0AAAsV_HLAmpeWYtj8yvkCfa4jCB5vSGfy9a4rc/s1600/browsericons.png&quot; target=&quot;_blank&quot;&gt;Here&lt;/a&gt;).&lt;br /&gt;
In the below sets, we have set the position of the background for all of &lt;b&gt;a&lt;/b&gt;&amp;nbsp;tags used in the HTML markup above.&lt;br /&gt;
When we use the &lt;b&gt;background&lt;/b&gt;&amp;nbsp;property it will set the image as a background image for &lt;b&gt;a&lt;/b&gt;&amp;nbsp;tags. Now, in the below parts of CSS, we are specifying that what part of image we want to see in the particular &lt;b&gt;a&lt;/b&gt;&amp;nbsp;tag, with the help of &lt;i style=&quot;font-weight: bold;&quot;&gt;background-position&lt;/i&gt;&amp;nbsp;property.&lt;br /&gt;
In&amp;nbsp;&lt;i style=&quot;font-weight: bold;&quot;&gt;.dialog-container .browser-icon a.chrome-icon i,&lt;/i&gt;&amp;nbsp;background position is set to &lt;b&gt;0 0&lt;/b&gt;. It means, it will be showing the image&#39;s first 104 pixels (because the width and height of &lt;b&gt;&lt;i&gt;&amp;lt;i&amp;gt;&lt;/i&gt;&lt;/b&gt; tags is set to 104px).&lt;br /&gt;
&lt;div&gt;
Under&amp;nbsp;&lt;i style=&quot;font-weight: bold;&quot;&gt;.dialog-container .browser-icon a.moz-icon i,&lt;/i&gt;&amp;nbsp;the background position is set to &lt;b&gt;-104&lt;/b&gt;&amp;nbsp;px. Now, in this &lt;b&gt;&amp;lt;i&amp;gt;&lt;/b&gt;&amp;nbsp;tag, the second part of image will be visible. Which will consist of Mozilla Icon.&lt;/div&gt;
&lt;div&gt;
And so on...&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
See the live working demo with all of code in the pen below:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;codepen&quot; data-default-tab=&quot;result&quot; data-height=&quot;268&quot; data-slug-hash=&quot;YPZXqz&quot; data-theme-id=&quot;9558&quot; data-user=&quot;asna_farid&quot;&gt;
See the Pen &lt;a href=&quot;http://codepen.io/asna_farid/pen/YPZXqz/&quot;&gt;Zoom Hover Effect&lt;/a&gt; by Asna Farid (&lt;a href=&quot;http://codepen.io/asna_farid&quot;&gt;@asna_farid&lt;/a&gt;) on &lt;a href=&quot;http://codepen.io/&quot;&gt;CodePen&lt;/a&gt;.&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//assets.codepen.io/assets/embed/ei.js&quot;&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;This post is inspired by &lt;a href=&quot;http://twitter.com/asna_farid&quot; target=&quot;_blank&quot;&gt;Asna Farid&lt;/a&gt;&#39;s pen on &lt;a href=&quot;http://codepen.io/&quot; target=&quot;_blank&quot;&gt;Codepen&lt;/a&gt;. This is why, the original pen is shown above.&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/4174631544518300663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2015/01/zoom-hover-effect.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/4174631544518300663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/4174631544518300663'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2015/01/zoom-hover-effect.html' title='Zoom Hover Effect with CSS3 Only'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2j2uL_5NIGdH712skscY4yR8PKCWwv4S92sejY5Nnp9dCBuyYA8_Gmj-_dvWAfpRIXBPz4Mzshz630dWBTtKTTEu_cBCbrZ707Y3_F8DxwVNtWB8gmA4MYeomemL-HrTI7wCMm1BIFdQ/s72-c/Screenshot+from+2015-01-14+22:26:49.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-4451322663427799399</id><published>2014-12-15T11:25:00.000-08:00</published><updated>2014-12-15T11:25:20.000-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="drop-down"/><category scheme="http://www.blogger.com/atom/ns#" term="Lists"/><title type='text'>Simple Drop Down Menu using CSS Only</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In this article we will learn how to create a simple drop-down menu using CSS3 only.&lt;br /&gt;
I don&#39;t think if anybody isn&#39;t familiar with a drop-down menu. But if you don&#39;t know about drop-down menu, then this is a navigation bar on the top of web pages with some DROP-DOWN effect just like this one:&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiESarFQgAh29aFlvISK0CF2NJ1kel1KGn39Yqux2bs9Ar-JzwfA38ucO2EzFitdsrUlVRBSz4HQ9fl2L2xCr6otSIWiuqPJjf8eheCJCNZaM5UcBbTYCH6SFVfCf8J7cxr3lncXg22ygA/s1600/simple-css-menu.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiESarFQgAh29aFlvISK0CF2NJ1kel1KGn39Yqux2bs9Ar-JzwfA38ucO2EzFitdsrUlVRBSz4HQ9fl2L2xCr6otSIWiuqPJjf8eheCJCNZaM5UcBbTYCH6SFVfCf8J7cxr3lncXg22ygA/s1600/simple-css-menu.png&quot; height=&quot;154&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;http://goo.gl/KTlvkM&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Now &amp;nbsp;just look at this HTML code:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;pre&gt;&amp;lt;ul id=&quot;top-menu&quot;&amp;gt;
  &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Languages&amp;lt;/a&amp;gt;
    &amp;lt;ul&amp;gt;
      &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Ruby&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
      &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;HTML&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
      &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;CSS&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
      &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;PHP&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
      &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;JavaScript&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
      &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;C++&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
    &amp;lt;/ul&amp;gt;
  &amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Browsers&amp;lt;/a&amp;gt;
    &amp;lt;ul&amp;gt;
      &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Chrome&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
      &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Opera&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
      &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;IE&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
      &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Firefox&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
      &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Safari&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
    &amp;lt;/ul&amp;gt;
 &amp;lt;/li&amp;gt;
 &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Operation systems&amp;lt;/a&amp;gt;
   &amp;lt;ul&amp;gt;
     &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Windows&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
     &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Linux&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
     &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;FreeBSD&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
     &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Mac OS&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
   &amp;lt;/ul&amp;gt;
 &amp;lt;/li&amp;gt;
 &amp;lt;li&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Others&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
This will create simple looking nested lists, looking like this:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1AGIcaFHRej84WC8KWu3uKCvAGflxxzhdKe52rKlpaSYP5iMoLFFXJjD7l1jhsjmoHEspSQgzw8E-2B8neM4UTGeoCztdzRap7n2P9B-HLMvL_YuwwbR6lbTwoY0zN6EJ8_59OfizgFE/s1600/Capture.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1AGIcaFHRej84WC8KWu3uKCvAGflxxzhdKe52rKlpaSYP5iMoLFFXJjD7l1jhsjmoHEspSQgzw8E-2B8neM4UTGeoCztdzRap7n2P9B-HLMvL_YuwwbR6lbTwoY0zN6EJ8_59OfizgFE/s1600/Capture.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
These are just multi level lists. Drop-Down menus are created using lists. CSS converts this multi-level lists into a drop down menu.&lt;br /&gt;
Let&#39;s look at the CSS. This CSS is divided into several groups. Each group has its own functionality.&lt;br /&gt;
Look at this code snippet:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;code&gt;
#top-menu, li ul { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    list-style: none; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    margin: 0px; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    padding: 0px; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
   }
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-aU0a36aZtnok6niPw5ayyd53F2QCA4tNQiibMit3KT3OWg2F3b70690y8FP9CzEcKRzSh4UVgP593U842cFO1O5HlXllOWfgFjNKziSRLuxDK_nc_Tz3mH1jYfpOlvSYzzTOHcpkRsc/s1600/Capture2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-aU0a36aZtnok6niPw5ayyd53F2QCA4tNQiibMit3KT3OWg2F3b70690y8FP9CzEcKRzSh4UVgP593U842cFO1O5HlXllOWfgFjNKziSRLuxDK_nc_Tz3mH1jYfpOlvSYzzTOHcpkRsc/s1600/Capture2.JPG&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;The above CSS code has removed all bullets and aligned them in single line.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Now we need to align the main menu (Language, Browser, Operation Systems and Others) into a single line.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;code&gt;
#top-menu li { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  float: left;  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  position: relative;  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
       } &lt;br /&gt;
#top-menu li a { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  display: block; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  }
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCnc1ApGSSb9SyIN4Vz5lL4uezzPDQHWZ294OW33NtCFMz-_pIZATvZMyV7QLPBhuNLgwPEI94itzs-nKXy9ii7N3kc_bwxvkeR-c5DIYModklBno7IxZJz1prXX7nyQoreRkt2NXBI5M/s1600/Capture3.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCnc1ApGSSb9SyIN4Vz5lL4uezzPDQHWZ294OW33NtCFMz-_pIZATvZMyV7QLPBhuNLgwPEI94itzs-nKXy9ii7N3kc_bwxvkeR-c5DIYModklBno7IxZJz1prXX7nyQoreRkt2NXBI5M/s1600/Capture3.JPG&quot; height=&quot;98&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Above CSS code aligned the main menu in the single row on left&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
To place a sub menu item over the main menu item you must apply &lt;b&gt;position: absolute;&lt;/b&gt;&amp;nbsp;property to that sub menu item:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;code&gt;
#top-menu li ul {  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  position: absolute; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
   }
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Applying the above CSS will align the sub menu items under the main menu vertically.&lt;br /&gt;
Now this is the main part of the drop down menu. Now we have to write the code that will change all these menus in such a ways that, when we hover over some main menu item, the corresponding drop down menu should appear, otherwise it should be hidden under that main menu entry.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;code&gt;
#top-menu li ul { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  visibility: hidden; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
 } &lt;br /&gt;
#top-menu li:hover ul { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  visibility: visible; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
 }
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
The first block of the above code is to hide the sub-menu entries in the normal position. The second part will be executed when we hove over the main menu options. It will show its effect if the main menu entry has some sub-menu underneath. When we hove over that entry, the corresponding sub menu entry will be shown in the drop down. You can apply padding to to make the entries separate to look readable.&lt;br /&gt;
Below pen shows the output and the code as well.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;codepen&quot; data-default-tab=&quot;result&quot; data-height=&quot;268&quot; data-slug-hash=&quot;ogxOvv&quot; data-theme-id=&quot;9558&quot; data-user=&quot;jacksparrow43&quot;&gt;
See the Pen &lt;a href=&quot;http://codepen.io/jacksparrow43/pen/ogxOvv/&quot;&gt;simple CSS drop-down menu&lt;/a&gt; by Muhammad Arslan Aslam (&lt;a href=&quot;http://codepen.io/jacksparrow43&quot;&gt;@jacksparrow43&lt;/a&gt;) on &lt;a href=&quot;http://codepen.io/&quot;&gt;CodePen&lt;/a&gt;.&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//assets.codepen.io/assets/embed/ei.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/4451322663427799399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/12/simple-drop-down-menu-using-css-only.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/4451322663427799399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/4451322663427799399'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/12/simple-drop-down-menu-using-css-only.html' title='Simple Drop Down Menu using CSS Only'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiESarFQgAh29aFlvISK0CF2NJ1kel1KGn39Yqux2bs9Ar-JzwfA38ucO2EzFitdsrUlVRBSz4HQ9fl2L2xCr6otSIWiuqPJjf8eheCJCNZaM5UcBbTYCH6SFVfCf8J7cxr3lncXg22ygA/s72-c/simple-css-menu.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-4303367068976914146</id><published>2014-12-04T05:02:00.001-08:00</published><updated>2014-12-04T05:03:50.273-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="buttons"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Animations"/><title type='text'>Create a flashing/glowing button using CSS3 only</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhy0C_s3BR1ndAd4GFg2ruCSV6hbQOleEQDqMlvYsyHRWeuFHJqLk_RZs8D6Vqw_87w2g5H15z1HEYyno1ZN56a-FZZFkGB2sWNuxUwLeffLDp1Wk8fddPytHabbjvNF5FtHI7tuj3m_WQ/s1600/Screenshot+from+2014-12-04+17:05:28.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhy0C_s3BR1ndAd4GFg2ruCSV6hbQOleEQDqMlvYsyHRWeuFHJqLk_RZs8D6Vqw_87w2g5H15z1HEYyno1ZN56a-FZZFkGB2sWNuxUwLeffLDp1Wk8fddPytHabbjvNF5FtHI7tuj3m_WQ/s1600/Screenshot+from+2014-12-04+17:05:28.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
In this tutorial we will learn how can we create a cool and good looking glowing/flashing button on our web pages, that can highlight, which matters the most on our web page.&lt;br /&gt;
The glowing/flashing effect can be applied to both, links and the form buttons.&lt;br /&gt;
&lt;br /&gt;
To create this effect we will be using CSS3 animations. If you don&#39;t know how to create CSS3 animations, please refer to our previous article &quot;&lt;a href=&quot;http://css3wdesign.blogspot.com/2014/11/css3-animations-keyframes-rule.html&quot; target=&quot;_blank&quot;&gt;CSS3 ANIMATIONS - @KEYFRAMES RULE&lt;/a&gt;&quot;.&lt;br /&gt;
&lt;br /&gt;
Animations are too easy to use to create nice looking effects on our web pages using CSS3. It can replace the traditional flash animations.&lt;br /&gt;
Let&#39;s get back to our work. Here is the simple HTML code which creates a simple LINK and BUTTON :&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background: #85FF5C; border-left: 4px solid #00B800; color: white; display: block; font-family: &#39;Ubuntu&#39;; font-size: 14px; padding: 20px; text-shadow: 1px 1px 1px black;&quot;&gt;&amp;lt;a href=&quot;#&quot; class=&quot;glowingbutton&quot; &amp;gt; Click me! &amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;button type=&quot;submit&quot; class=&quot;glowingbutton&quot;&amp;gt; Click me! &amp;lt;/button&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now the below CSS will change the basic properties (color, fonts, width, height, borders etc.) of the above two buttons:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;code&gt;
.glowingbutton {  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background-color: #004A7F; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  -webkit-border-radius: 10px; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  border-radius: 10px; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  border: none; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  color: #FFFFFF; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  cursor: pointer; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  display: inline-block; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  font-family: Arial; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  font-size: 20px; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  padding: 5px 10px; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  text-align: center; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  text-decoration: none; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  animation: glowing 1500ms infinite; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
The below part of CSS3 is the all, what we need to create the glowing effect.&lt;br /&gt;
We will use&amp;nbsp;@keyframe rule to make this animation. There will be three keyframes in our animation. One will be at &lt;b&gt;0%,&lt;/b&gt;&amp;nbsp;second will be on &lt;b&gt;50%&lt;/b&gt; and third on &lt;b&gt;100%.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;At 0%&lt;/b&gt;&amp;nbsp;the background color of the button will be dark red and the background shadow will be light red at 3px distance.&lt;br /&gt;
&lt;b&gt;At 50%&lt;/b&gt;&amp;nbsp;the background color of the button will be light red and the background shadow will also be light red but at 20px distance, so that it create a good glowing effect.&lt;br /&gt;
and &lt;b&gt;At 100%&lt;/b&gt;&amp;nbsp;the background color and background shadow will be as same as at &lt;b&gt;0%&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;code&gt;
@keyframes glowing { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  0% { background-color: #B20000; box-shadow: 0 0 3px #B20000; } &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  50% { background-color: #FF0000; box-shadow: 0 0 40px #FF0000; } &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  100% { background-color: #B20000; box-shadow: 0 0 3px #B20000; } &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
In the below code pen the sample output and the code is given. The code in the below pen is also useful for cross browser solution (will give same output in every browser).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;codepen&quot; data-default-tab=&quot;result&quot; data-height=&quot;268&quot; data-slug-hash=&quot;LEpoOJ&quot; data-theme-id=&quot;9558&quot; data-user=&quot;jacksparrow43&quot;&gt;
See the Pen &lt;a href=&quot;http://codepen.io/jacksparrow43/pen/LEpoOJ/&quot;&gt;glowing/flashing button&lt;/a&gt; by Muhammad Arslan Aslam (&lt;a href=&quot;http://codepen.io/jacksparrow43&quot;&gt;@jacksparrow43&lt;/a&gt;) on &lt;a href=&quot;http://codepen.io/&quot;&gt;CodePen&lt;/a&gt;.&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//assets.codepen.io/assets/embed/ei.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/4303367068976914146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/12/create-flashingglowing-button-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/4303367068976914146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/4303367068976914146'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/12/create-flashingglowing-button-using.html' title='Create a flashing/glowing button using CSS3 only'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhy0C_s3BR1ndAd4GFg2ruCSV6hbQOleEQDqMlvYsyHRWeuFHJqLk_RZs8D6Vqw_87w2g5H15z1HEYyno1ZN56a-FZZFkGB2sWNuxUwLeffLDp1Wk8fddPytHabbjvNF5FtHI7tuj3m_WQ/s72-c/Screenshot+from+2014-12-04+17:05:28.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-5265211789386451668</id><published>2014-11-24T09:12:00.001-08:00</published><updated>2014-11-24T09:12:17.541-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Filters"/><category scheme="http://www.blogger.com/atom/ns#" term="Hover"/><category scheme="http://www.blogger.com/atom/ns#" term="Image"/><title type='text'>CSS Image Filters - blur(), grayscale(), drop-shadow() etc...</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
CSS Image filters are tools that offer developers to create cool varying visual effects on HTML elements like &lt;b&gt;blur&lt;/b&gt;&amp;nbsp;and &lt;b&gt;grayscale&lt;/b&gt;. These filters are just like filters in the photoshop.&lt;br /&gt;
Filters are commonly used to render the effects on images, backgrounds and borders etc.&lt;br /&gt;
You can use any of the below mentioned:&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;
blur()&lt;br /&gt;

 &lt;/li&gt;
&lt;li&gt;
brightness()&lt;br /&gt;

 &lt;/li&gt;
&lt;li&gt;
contrast()&lt;br /&gt;

 &lt;/li&gt;
&lt;li&gt;
url()&lt;br /&gt;

 &lt;/li&gt;
&lt;li&gt;
drop-shadow()&lt;br /&gt;

 &lt;/li&gt;
&lt;li&gt;
grayscale()&lt;br /&gt;

 &lt;/li&gt;
&lt;li&gt;
hue-rotate()&lt;br /&gt;

 &lt;/li&gt;
&lt;li&gt;
invert()&lt;br /&gt;

 &lt;/li&gt;
&lt;li&gt;
opacity()&lt;br /&gt;

 &lt;/li&gt;
&lt;li&gt;
sepia()&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
The syntax:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt; 
element { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
filter: filter-function(value) | none; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Multiple filters can be applied using space between each function.&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Single Filter being used:&amp;nbsp;&lt;/h2&gt;
&lt;div&gt;
&lt;span class=&quot;inlinecode&quot;&gt;grayscale()&lt;/span&gt; give a black and white effect on any element. Its value can vary from &lt;b&gt;0% to 100%.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
img { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
filter: grayscale(100%); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/filter.html&quot; target=&quot;blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Multiple filters being used:&lt;/h2&gt;
&lt;div&gt;
You can also use multiple filter functions in the same line separating them with space between each other.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
img { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
filter: grayscale(60%) blur(2px); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/filter2.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Filter Functions&lt;/h2&gt;
&lt;div&gt;
To use filter functions, each functions is applied with some value. Some take values in &lt;b&gt;%age&lt;/b&gt;&amp;nbsp;and some in decimals. There are a also some functions which take values in pixels.&lt;/div&gt;
&lt;div&gt;
Below we will use all of the filter functions to this image:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ90jZFwkeZEPSm4dHEvWh2h109SHuksDGNm7d5G1tRA91Ld60sWagUgKqopsG5cQDM1fuwoUcy5Hotg6dKJYmRET1Y4yF4pP0_Ss7oTSa4mKNfDFAV5Oo3mieoaXmuga3awnbWpXsU50/s1600/Nature-444-photos.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ90jZFwkeZEPSm4dHEvWh2h109SHuksDGNm7d5G1tRA91Ld60sWagUgKqopsG5cQDM1fuwoUcy5Hotg6dKJYmRET1Y4yF4pP0_Ss7oTSa4mKNfDFAV5Oo3mieoaXmuga3awnbWpXsU50/s1600/Nature-444-photos.jpg&quot; height=&quot;480&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
1. grayscale()&lt;/h2&gt;
&lt;div&gt;
&lt;code&gt;
filter: grayscale( %age );
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
This filter is provided with %age. The value 100% indicates the full grayscale effect. 0% will leave the element unchanged. You can provide it with any value between 0% to 100%. -ve values are not allowed.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;codepen&quot; data-default-tab=&quot;result&quot; data-height=&quot;268&quot; data-slug-hash=&quot;jEPPQY&quot; data-theme-id=&quot;9558&quot; data-user=&quot;jacksparrow43&quot;&gt;
See the Pen &lt;a href=&quot;http://codepen.io/jacksparrow43/pen/jEPPQY/&quot;&gt;grayscale()&lt;/a&gt; by Muhammad Arslan Aslam (&lt;a href=&quot;http://codepen.io/jacksparrow43&quot;&gt;@jacksparrow43&lt;/a&gt;) on &lt;a href=&quot;http://codepen.io/&quot;&gt;CodePen&lt;/a&gt;.&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//assets.codepen.io/assets/embed/ei.js&quot;&gt;&lt;/script&gt; &lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
2. sepia()&lt;/h2&gt;
&lt;div&gt;
&lt;div&gt;
&lt;code&gt;
filter: sepia( %age );
&lt;/code&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This filter converts this image to sepia. The value provided to this filter is in &lt;b&gt;%age&lt;/b&gt;. 0% will leave the element unchanged. You can provide it with any value between 0% to 100%. -ve values are not allowed.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;codepen&quot; data-default-tab=&quot;result&quot; data-height=&quot;268&quot; data-slug-hash=&quot;yyNNZE&quot; data-theme-id=&quot;9558&quot; data-user=&quot;jacksparrow43&quot;&gt;
See the Pen &lt;a href=&quot;http://codepen.io/jacksparrow43/pen/yyNNZE/&quot;&gt;sepia()&lt;/a&gt; by Muhammad Arslan Aslam (&lt;a href=&quot;http://codepen.io/jacksparrow43&quot;&gt;@jacksparrow43&lt;/a&gt;) on &lt;a href=&quot;http://codepen.io/&quot;&gt;CodePen&lt;/a&gt;.&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//assets.codepen.io/assets/embed/ei.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
3. saturate()&lt;/h2&gt;
&lt;div&gt;
&lt;code&gt;
filter: saturate( %age ); 
&lt;/code&gt;
&lt;br /&gt;
&lt;div&gt;
This filter saturates the input image. &lt;b&gt;%age&lt;/b&gt;&amp;nbsp;value is provided to this filter. 0% will leave the element unchanged. You can provide it with any value between 0% to 100%. -ve values are not allowed.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;codepen&quot; data-default-tab=&quot;result&quot; data-height=&quot;268&quot; data-slug-hash=&quot;RNPPmR&quot; data-theme-id=&quot;9558&quot; data-user=&quot;jacksparrow43&quot;&gt;
See the Pen &lt;a href=&quot;http://codepen.io/jacksparrow43/pen/RNPPmR/&quot;&gt;saturate()&lt;/a&gt; by Muhammad Arslan Aslam (&lt;a href=&quot;http://codepen.io/jacksparrow43&quot;&gt;@jacksparrow43&lt;/a&gt;) on &lt;a href=&quot;http://codepen.io/&quot;&gt;CodePen&lt;/a&gt;.&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//assets.codepen.io/assets/embed/ei.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;
This filter doesn&#39;t show too much effect like others, but you can also use this one if &amp;nbsp;needed.&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
4. hue-rotate()&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
filter: hue-rotate( angle );
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
This filter applies hue rotation to the input image. The values is provided with some &lt;b&gt;angle&lt;/b&gt;. Angle can be anything from &lt;b&gt;0deg&lt;/b&gt;&amp;nbsp;to &lt;b&gt;350deg&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;codepen&quot; data-default-tab=&quot;result&quot; data-height=&quot;268&quot; data-slug-hash=&quot;wBaaVq&quot; data-theme-id=&quot;9558&quot; data-user=&quot;jacksparrow43&quot;&gt;
See the Pen &lt;a href=&quot;http://codepen.io/jacksparrow43/pen/wBaaVq/&quot;&gt;hue-rotate()&lt;/a&gt; by Muhammad Arslan Aslam (&lt;a href=&quot;http://codepen.io/jacksparrow43&quot;&gt;@jacksparrow43&lt;/a&gt;) on &lt;a href=&quot;http://codepen.io/&quot;&gt;CodePen&lt;/a&gt;.&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//assets.codepen.io/assets/embed/ei.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;h2&gt;
5. invert()&lt;/h2&gt;
&lt;div&gt;
&lt;code&gt;
filter:  invert( %age ); 
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Inverts the samples in input image.&amp;nbsp;&lt;b&gt;%age&lt;/b&gt;&amp;nbsp;value is provided to this filter. 0% will leave the element unchanged. You can provide it with any value between 0% to 100%. -ve values are not allowed.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;codepen&quot; data-default-tab=&quot;result&quot; data-height=&quot;268&quot; data-slug-hash=&quot;OPVyyj&quot; data-theme-id=&quot;9558&quot; data-user=&quot;jacksparrow43&quot;&gt;
See the Pen &lt;a href=&quot;http://codepen.io/jacksparrow43/pen/OPVyyj/&quot;&gt;invert()&lt;/a&gt; by Muhammad Arslan Aslam (&lt;a href=&quot;http://codepen.io/jacksparrow43&quot;&gt;@jacksparrow43&lt;/a&gt;) on &lt;a href=&quot;http://codepen.io/&quot;&gt;CodePen&lt;/a&gt;.&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//assets.codepen.io/assets/embed/ei.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
6. opacity()&lt;/h2&gt;
&lt;div&gt;
&lt;code&gt;
filter:  opacity( %age ); 
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Opacity function applies transparency to the samples in input image. This is the function for more developed property opacity. Its value is provided in &lt;b&gt;%ages.&lt;/b&gt;&amp;nbsp;0% is full transparent and 100% will leave the content unchanged.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;codepen&quot; data-default-tab=&quot;result&quot; data-height=&quot;268&quot; data-slug-hash=&quot;VYLeaQ&quot; data-theme-id=&quot;9558&quot; data-user=&quot;jacksparrow43&quot;&gt;
See the Pen &lt;a href=&quot;http://codepen.io/jacksparrow43/pen/VYLeaQ/&quot;&gt;opacity()&lt;/a&gt; by Muhammad Arslan Aslam (&lt;a href=&quot;http://codepen.io/jacksparrow43&quot;&gt;@jacksparrow43&lt;/a&gt;) on &lt;a href=&quot;http://codepen.io/&quot;&gt;CodePen&lt;/a&gt;.&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//assets.codepen.io/assets/embed/ei.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
7. brightness()&lt;/h2&gt;
&lt;div&gt;
&lt;code&gt;
filter: brightness(100%);
&lt;/code&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This filter increases/decreases the brightness of content in image. The value is provided with %age. 0% will create full darkness. 100% is the original image&#39;s brightness. If no value is provided then 100% is used as default. &lt;b&gt;The values more than 100% are allowed providing the brighter results.&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;codepen&quot; data-default-tab=&quot;result&quot; data-height=&quot;268&quot; data-slug-hash=&quot;wBaMzO&quot; data-theme-id=&quot;9558&quot; data-user=&quot;jacksparrow43&quot;&gt;
See the Pen &lt;a href=&quot;http://codepen.io/jacksparrow43/pen/wBaMzO/&quot;&gt;brightness()&lt;/a&gt; by Muhammad Arslan Aslam (&lt;a href=&quot;http://codepen.io/jacksparrow43&quot;&gt;@jacksparrow43&lt;/a&gt;) on &lt;a href=&quot;http://codepen.io/&quot;&gt;CodePen&lt;/a&gt;.&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//assets.codepen.io/assets/embed/ei.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
8. contrast()&lt;/h2&gt;
&lt;div&gt;
&lt;code&gt;
filter: contrast(%age);
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;line-height: 100%; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 100%; margin-bottom: 0in;&quot;&gt;
Adjusts the contrast
of the input. A value of 0% will create an image that is completely
black. A value of 100% leaves the input unchanged. Values of amount
over 100% are allowed, providing results with less contrast. If the
“amount” parameter is missing, a value of 100% is used.&lt;/div&gt;
&lt;div style=&quot;line-height: 100%; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;codepen&quot; data-default-tab=&quot;result&quot; data-height=&quot;268&quot; data-slug-hash=&quot;XJbXpN&quot; data-theme-id=&quot;9558&quot; data-user=&quot;jacksparrow43&quot;&gt;
See the Pen &lt;a href=&quot;http://codepen.io/jacksparrow43/pen/XJbXpN/&quot;&gt;contrast()&lt;/a&gt; by Muhammad Arslan Aslam (&lt;a href=&quot;http://codepen.io/jacksparrow43&quot;&gt;@jacksparrow43&lt;/a&gt;) on &lt;a href=&quot;http://codepen.io/&quot;&gt;CodePen&lt;/a&gt;.&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//assets.codepen.io/assets/embed/ei.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
9. blur()&lt;/h2&gt;
&lt;div&gt;
&lt;code&gt;
filter: blur(3px); 
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;line-height: 100%; margin-bottom: 0in;&quot;&gt;
Applies a Gaussian
blur to the input image. The value of ‘radius’ defines the value
of the standard deviation to the Gaussian function, or how many
pixels on the screen blend into each other, so a larger value will
create more blur. If no parameter is provided, then a value 0 is
used. The parameter is specified as a CSS length, but does not accept
percentage values.&lt;/div&gt;
&lt;div style=&quot;line-height: 100%; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;codepen&quot; data-default-tab=&quot;result&quot; data-height=&quot;268&quot; data-slug-hash=&quot;qEdbmV&quot; data-theme-id=&quot;9558&quot; data-user=&quot;jacksparrow43&quot;&gt;
See the Pen &lt;a href=&quot;http://codepen.io/jacksparrow43/pen/qEdbmV/&quot;&gt;blur()&lt;/a&gt; by Muhammad Arslan Aslam (&lt;a href=&quot;http://codepen.io/jacksparrow43&quot;&gt;@jacksparrow43&lt;/a&gt;) on &lt;a href=&quot;http://codepen.io/&quot;&gt;CodePen&lt;/a&gt;.&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//assets.codepen.io/assets/embed/ei.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
10. drop-shadow()&lt;/h2&gt;
&lt;div&gt;
&lt;code&gt;
filter: drop-shadow(0px 0px 10px rgba(0,0,0,.5));
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Applies a drop shadow effect to the input image. A drop shadow is
effectively a blurred, offset version of the input image&#39;s alpha mask
drawn in a particular color, composited below the image. The function
accepts a parameter of type&lt;br /&gt;
This function is similar to the more established &lt;b&gt;box-shadow&lt;/b&gt;
property; the difference is that with filters, some browsers provide
hardware acceleration for better performance.&lt;br /&gt;
&lt;div style=&quot;line-height: 100%; margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;codepen&quot; data-default-tab=&quot;result&quot; data-height=&quot;268&quot; data-slug-hash=&quot;XJbXgp&quot; data-theme-id=&quot;9558&quot; data-user=&quot;jacksparrow43&quot;&gt;
See the Pen &lt;a href=&quot;http://codepen.io/jacksparrow43/pen/XJbXgp/&quot;&gt;drop-shadow()&lt;/a&gt; by Muhammad Arslan Aslam (&lt;a href=&quot;http://codepen.io/jacksparrow43&quot;&gt;@jacksparrow43&lt;/a&gt;) on &lt;a href=&quot;http://codepen.io/&quot;&gt;CodePen&lt;/a&gt;.&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//assets.codepen.io/assets/embed/ei.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/5265211789386451668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/11/css-image-filters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/5265211789386451668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/5265211789386451668'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/11/css-image-filters.html' title='CSS Image Filters - blur(), grayscale(), drop-shadow() etc...'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ90jZFwkeZEPSm4dHEvWh2h109SHuksDGNm7d5G1tRA91Ld60sWagUgKqopsG5cQDM1fuwoUcy5Hotg6dKJYmRET1Y4yF4pP0_Ss7oTSa4mKNfDFAV5Oo3mieoaXmuga3awnbWpXsU50/s72-c/Nature-444-photos.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-6085040427070420702</id><published>2014-11-23T14:25:00.000-08:00</published><updated>2014-11-24T09:12:26.543-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hover"/><category scheme="http://www.blogger.com/atom/ns#" term="Image"/><category scheme="http://www.blogger.com/atom/ns#" term="Tint"/><title type='text'>CSS Gray-Scale Image Tint - Change the Color of Image on Hover </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixygGnOCcWdFimqYsGZaJ0izpuowPZUNXTSJ5Kvisno2QUZhskbaYlNaeQtoZZi8BjY2R4B9UOioxaiRh1YOEjnEngcQNZzMwzmSOy3wUMwBcaR1V0roToFth20nn-yTKgHY6KopTHD_4/s1600/Screenshot+from+2014-11-24+02:26:15.png&quot; height=&quot;185&quot; width=&quot;200&quot; /&gt;&amp;nbsp;Images are a big part of any site these days. As CSS3 allows us to decorate and stylize our sites to look more attractive and more elegant. So, it also comes with a lot tricks to customize images on our sites. You can create a lot of cool stuff using CSS3.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
The above images is Gray Scaled with CSS3. May be its&#39;s not such a good idea to use such old styles on our sites these days. But what if, when we hover over the image, it turns colorful?&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Yeah! It sounds cool.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Check out here:&amp;nbsp;&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/tint.html&quot; target=&quot;_blank&quot;&gt;Example&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Now, let&#39;s see how to create this.&lt;br /&gt;
We can do this effect using &lt;a href=&quot;http://css3wdesign.blogspot.com/2014/11/css-image-filters.html&quot; target=&quot;&quot;&gt;CSS Image Filters.&lt;/a&gt;&amp;nbsp;Image filters are like Photoshop Filters for browser.&lt;br /&gt;
&lt;br /&gt;
Filters can be applied to any image with a simple line of code:&lt;br /&gt;
&lt;div&gt;
&lt;code&gt;
img { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
filter: grayscale(50%); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
To create the effect as it is in above example, there are many ways.&lt;br /&gt;
We will be using a simplest trick to do so. Just look at this code snippet:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
.tint img { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
	display: block; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
	transition: all 0.7s linear; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
	filter: grayscale(100%); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
	-webkit-filter: grayscale(100%);    &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
	-moz-filter: grayscale(100%);     &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
	-o-filter: grayscale(100%);      &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
	} &lt;br /&gt;
.tint img:hover {
	filter: grayscale(0); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
	-webkit-filter: grayscale(0);    &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
	-moz-filter: grayscale(0);     &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
	-o-filter: grayscale(0);     &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
	}
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
In the above snippet we have a &lt;span class=&quot;inlinecode&quot;&gt;div&lt;/span&gt;&amp;nbsp; named &lt;span class=&quot;inlinecode&quot;&gt;.tint&lt;/span&gt;&amp;nbsp;, which contains image that on which we want to apply the style. &lt;span class=&quot;inlinecode&quot;&gt;transition: all 0.7s linear; &lt;/span&gt;&amp;nbsp; will create some cool transitional effect on hover, so it don&#39;t change its color at once.&lt;br /&gt;
The strategy we are using in creating this effect is very simple. When the image is loads its already gray-scaled to 100% (&lt;span class=&quot;inlinecode&quot;&gt;filter: grayscale(100%);&lt;/span&gt;).&lt;br /&gt;
And as we can see in the &lt;span class=&quot;inlinecode&quot;&gt;.tint img:hover&lt;/span&gt;&amp;nbsp;, the &lt;span class=&quot;inlinecode&quot;&gt;grayscale&lt;/span&gt;&amp;nbsp; is turned to 0% , so that it comes into its original condition (full colored).&lt;br /&gt;
&lt;br /&gt;
Have a look at this codepen:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;codepen&quot; data-default-tab=&quot;result&quot; data-height=&quot;268&quot; data-slug-hash=&quot;rLqxu&quot; data-theme-id=&quot;9558&quot; data-user=&quot;jacksparrow43&quot;&gt;
See the Pen &lt;a href=&quot;http://codepen.io/jacksparrow43/pen/rLqxu/&quot;&gt;Simple but nice looking Image Tint&lt;/a&gt; by Muhammad Arslan Aslam (&lt;a href=&quot;http://codepen.io/jacksparrow43&quot;&gt;@jacksparrow43&lt;/a&gt;) on &lt;a href=&quot;http://codepen.io/&quot;&gt;CodePen&lt;/a&gt;.&lt;/div&gt;
&lt;script async=&quot;&quot; src=&quot;//assets.codepen.io/assets/embed/ei.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/6085040427070420702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/11/css-gray-scale-image-tint-change-color.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/6085040427070420702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/6085040427070420702'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/11/css-gray-scale-image-tint-change-color.html' title='CSS Gray-Scale Image Tint - Change the Color of Image on Hover '/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixygGnOCcWdFimqYsGZaJ0izpuowPZUNXTSJ5Kvisno2QUZhskbaYlNaeQtoZZi8BjY2R4B9UOioxaiRh1YOEjnEngcQNZzMwzmSOy3wUMwBcaR1V0roToFth20nn-yTKgHY6KopTHD_4/s72-c/Screenshot+from+2014-11-24+02:26:15.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-7927474725470401949</id><published>2014-11-09T12:32:00.000-08:00</published><updated>2014-11-09T12:32:00.913-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="@keyframes Rule"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Animations"/><title type='text'>CSS3 Animations - @keyframes Rule</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
CSS3 animations can replace the old fashioned flash animations. You can lessen the bandwidth usage by replacing the flash animations with CSS3 animations.&lt;br /&gt;
This is a simple example of CSS3 animation, a div element changing its background from red to yellow:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;style type=&quot;text/css&quot;&gt;
			div.box111 {
				width: 100px;
				height: 100px;
				animation: myfirst 5s infinite;
				-webkit-animation: myfirst 5s infinite;
				-moz-animation: myfirst 5s infinite;			
			}
			@keyframes myfirst {
				from { background: red; }
				to { background: yellow; }			
			}
			@-webkit-keyframes myfirst {
				from { background: red; }
				to { background: yellow; }			
			}
		&lt;/style&gt;

&lt;br /&gt;
&lt;div class=&quot;box111&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;
@keyframes rule&lt;/h2&gt;
&lt;div&gt;
The @keyframes is where the animations is created. Now if you don&#39;t know about &quot;frames&quot;, here it is:&amp;nbsp;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
A key frame in animation and filmmaking is a drawing that defines the starting and ending points of any smooth transition. The drawings are called &quot;frames&quot; because their position in time is measured in frames on a strip of film.&lt;/blockquote&gt;
I think its clear now. In the @keyframes rule we create the frames or starting and ending points for any animation.&lt;br /&gt;
Specify any style in &quot;frame&quot; and the animation will gradually change from current style to the specified new style. &lt;br /&gt;
&lt;hr /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
CSS3 animation&amp;nbsp;&lt;/h2&gt;
&lt;div&gt;
When an animation is created in the&amp;nbsp;@keyframes rule, you must attach it to some HTML element to work. Otherwise the animation will remain useless and will show no effect.&lt;/div&gt;
&lt;div&gt;
Bind the animation to any selector (HTML element) with specifying at least two properties:&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;b&gt;the name of the animation&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;the duration of the animation&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Below code snippet is to create an animation of &lt;b&gt;5sec&lt;/b&gt;&amp;nbsp;on &lt;b&gt;div&lt;/b&gt;&amp;nbsp;element with name &lt;b&gt;myfirst:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
div { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-animation: myfirst 5s; /* Chrome, Safari, Opera */ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    animation: myfirst 5s; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;br /&gt;

/* Chrome, Safari, Opera */ &lt;br /&gt;
@-webkit-keyframes myfirst { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    from {background: red;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    to {background: yellow;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
} &lt;br /&gt;

/* Standard syntax */ &lt;br /&gt;
@keyframes myfirst { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    from {background: red;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    to {background: yellow;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
} &lt;br /&gt;
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/animations.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;You must have to specify the duration time for an animation. If no time is specified, the animation will have no effect, because the default value is 0.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
CSS3 animations (explained)&lt;/h2&gt;
&lt;div&gt;
An animation is&amp;nbsp;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
the technique of photographing successive drawings or positions of puppets or models to create an illusion of movement when the film is shown as a sequence.&lt;/blockquote&gt;
CSS3 animation let any element gradually change from one style to another.&lt;br /&gt;
You can change as many properties as you want, as many times you want.&lt;br /&gt;
You can specify that at what frame change should happen in percents, or you can use the keywords &quot;from&quot; and &quot;to&quot; to specify the changes.&lt;br /&gt;
&quot;From&quot; represents 0% and &quot;to&quot; represents 100%.&lt;br /&gt;
0% represents the start of the animation, and 100% represent the end of the animation.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;code&gt;
/* Chrome, Safari, Opera */ &lt;br /&gt;
@-webkit-keyframes myfirst { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    0%   {background: red;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    25%  {background: yellow;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    50%  {background: blue;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    100% {background: green;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
} &lt;br /&gt; &lt;br /&gt;

/* Standard syntax */ &lt;br /&gt;
@keyframes myfirst { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    0%   {background: red;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    25%  {background: yellow;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    50%  {background: blue;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    100% {background: green;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;br /&gt;
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/animations2.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
In the below example there is a div element, which changes its background color as well as its position at the given time:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;code&gt;
/* Chrome, Safari, Opera */ &lt;br /&gt;
@-webkit-keyframes myfirst { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    0%   {background: red; left:0px; top:0px;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    25%  {background: yellow; left:200px; top:0px;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    50%  {background: blue; left:200px; top:200px;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    75%  {background: green; left:0px; top:200px;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    100% {background: red; left:0px; top:0px;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
} &lt;br /&gt;
&lt;br /&gt;
/* Standard syntax */ &lt;br /&gt;
@keyframes myfirst { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    0%   {background: red; left:0px; top:0px;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    25%  {background: yellow; left:200px; top:0px;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    50%  {background: blue; left:200px; top:200px;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    75%  {background: green; left:0px; top:200px;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    100% {background: red; left:0px; top:0px;} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;br /&gt;
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/animations3.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
We can also make an animation with infinite loop. Means some time you just need an animation no to stop, you want it to keep running. You can also do this in CSS3 animations.&lt;br /&gt;
To create an animation with infinite loop you just need to declare the animation this way:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;code&gt;
div { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
animation: myfirst 5s infinite; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
The &quot;infinite&quot; keyword in the animation declaration will cause the animation not to stop until we close the webpage.&lt;br /&gt;
Look at this more good example of CSS3 animation:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;code&gt;
div { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    /* Chrome, Safari, Opera */ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-animation-name: myfirst; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-animation-duration: 5s; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-animation-timing-function: linear; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-animation-delay: 2s; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-animation-iteration-count: infinite; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-animation-direction: alternate; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-animation-play-state: running; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    /* Standard syntax */ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    animation-name: myfirst; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    animation-duration: 5s; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    animation-timing-function: linear; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    animation-delay: 2s; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    animation-iteration-count: infinite; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    animation-direction: alternate; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    animation-play-state: running; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;br /&gt;
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/animations4.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
The above code snippet can be summarized into one single line of code as follows (the output will remain same) :&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;code&gt;
div { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-animation: myfirst 5s linear 2s infinite alternate; /* Chrome, Safari, Opera */ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    animation: myfirst 5s linear 2s infinite alternate; /* Standard syntax */ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
} &lt;br /&gt;
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/animations4.html&quot; target=&quot;_blank&quot;&gt; Output &lt;/a&gt; &lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
CSS3 Animation Properties&lt;/h2&gt;
&lt;div&gt;
&lt;hr /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;table&gt;
			&lt;tbody&gt;
&lt;tr&gt;
				&lt;th&gt;Property&lt;/th&gt;
				&lt;th&gt;Description&lt;/th&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;@keyframes&lt;/td&gt;
				&lt;td&gt;Specifies the animation&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;animation&lt;/td&gt;
				&lt;td&gt;A shorthand property for setting all the animation properties, except the animation-play-state and the animation-fill-mode property&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;animation-delay&lt;/td&gt;
				&lt;td&gt;Specifies when the animation will start&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;animation-direction&lt;/td&gt;
				&lt;td&gt;Specifies whether or not the animation should play in reverse on alternate cycles&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;animation-duration&lt;/td&gt;
				&lt;td&gt;Specifies how many seconds or milliseconds an animation takes to complete one cycle&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;animation-fill-mode&lt;/td&gt;
				&lt;td&gt;Specifies what styles will apply for the element when the animation is not playing (when it is finished, or when it has a &quot;delay&quot;)&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;animation-iteration-count&lt;/td&gt;
				&lt;td&gt;Specifies the number of times an animation should be played&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;animation-name&lt;/td&gt;
				&lt;td&gt;Specifies the name of the @keyframes animation&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;animation-play-state&lt;/td&gt;
				&lt;td&gt;Specifies whether the animation is running or paused&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;animation-timing-function&lt;/td&gt;
				&lt;td&gt;Specifies the speed curve of the animation&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr style=&quot;text-align: right;&quot;&gt;
				&lt;td colspan=&quot;2&quot;&gt;Qouted from: &lt;a href=&quot;http://w3schools.com/&quot; style=&quot;color: white;&quot; target=&quot;_blank&quot;&gt;W3Shools&lt;/a&gt;&lt;/td&gt;			
			&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/7927474725470401949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/11/css3-animations-keyframes-rule.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/7927474725470401949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/7927474725470401949'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/11/css3-animations-keyframes-rule.html' title='CSS3 Animations - @keyframes Rule'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-2895638174053127048</id><published>2014-11-02T09:10:00.002-08:00</published><updated>2014-11-02T09:18:44.033-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3D Transforms"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Transforms"/><title type='text'>CSS3 3D Transforms: rotateX() , rotateY()</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;b&gt;CSS3 transforms extends CSS transforms to allow elements rendered by CSS to be transformed in three-dimensional space.&amp;nbsp;&lt;/b&gt;&lt;/blockquote&gt;
In this chapter we will learn about some of 3D transforms methods:&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;rotateX()&lt;/li&gt;
&lt;li&gt;rotateY()&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&amp;nbsp;The rotateX() method:&lt;/h2&gt;
&lt;div&gt;
&lt;b&gt;rotateX(angle)&lt;/b&gt; method, rotates any element around its X-axis at a given degree(angle).&lt;/div&gt;
&lt;div&gt;
Look at the example below:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt; div { &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
    -webkit-transform: rotateX(120deg); /* Chrome, Safari, Opera */ &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
    transform: rotateX(120deg); &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/3d-transforms.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
The rotateY() method:&amp;nbsp;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
In &lt;b&gt;rotateY()&lt;/b&gt;&amp;nbsp;method, you can rotate any HTML element around its Y-axis at a given degree.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt; div { &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
    -webkit-transform: rotateY(130deg); /* Chrome, Safari, Opera */ &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
    transform: rotateY(130deg); &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/3d-transforms2.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
CSS3 transforms properties:&amp;nbsp;&lt;/h2&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;style type=&quot;text/css&quot;&gt;
  .sourcebox {
   text-align: right;  
  }
.sourcebox a {
   color: white;  
  }
 &lt;/style&gt;
 &lt;body&gt;
  &lt;table class=&quot;properties&quot;&gt;
   &lt;tr&gt;
    &lt;th&gt;Property&lt;/th&gt;
    &lt;th&gt;Description&lt;/th&gt;   
   &lt;/tr&gt;  
   &lt;tr&gt;
    &lt;td&gt;transforms&lt;/td&gt;
    &lt;td&gt;Applies a 2D or 3D transformation to an element.&lt;/td&gt;   
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td&gt;transform-origin&lt;/td&gt;
    &lt;td&gt;Allows you to change the position on transformed elements&lt;/td&gt;   
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td&gt;transform-style&lt;/td&gt;
    &lt;td&gt;Specifies how nested elements are rendered in 3D space&lt;/td&gt;   
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td&gt;perspective&lt;/td&gt;
    &lt;td&gt;Specifies the perspective on how 3D elements are viewed&lt;/td&gt;   
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td&gt;perspective-origin&lt;/td&gt;
    &lt;td&gt;Specifies the bottom position of 3D elements&lt;/td&gt;   
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td&gt;backface-visibility&lt;/td&gt;
    &lt;td&gt;Defines whether or not an element should be visible when not facing the screen&lt;/td&gt;   
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td colspan=&quot;2&quot; class=&quot;sourcebox&quot;&gt;Source: &lt;a href=&quot;http://w3schools.com&quot; target=&quot;_blank&quot;&gt;W3Schools&lt;/a&gt;&lt;/td&gt;   
   &lt;/tr&gt;
  &lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/2895638174053127048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/11/css3-3d-transforms-rotatex-rotatey.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/2895638174053127048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/2895638174053127048'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/11/css3-3d-transforms-rotatex-rotatey.html' title='CSS3 3D Transforms: rotateX() , rotateY()'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-3961876391056953143</id><published>2014-10-26T01:51:00.000-07:00</published><updated>2014-12-16T00:42:37.817-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Gradients"/><category scheme="http://www.blogger.com/atom/ns#" term="Radial Gradients"/><title type='text'>CSS3 Radial Gradients </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
A radial gradient is defined by its center.&lt;br /&gt;
To create a radial gradient you have to specify at least two color stops.&lt;br /&gt;
Below is a simple looking Radial Gradient, created using CSS3:&lt;br /&gt;
&lt;br /&gt;
&lt;style&gt;
#grad1 {
    height: 150px;
    width: 200px;
    background: -webkit-radial-gradient(red 15%, green 15%, blue 60%); 
    background: -o-radial-gradient(red 15%, green 15%, blue 60%); 
    background: -moz-radial-gradient(red 15%, green 15%, blue 60%); 
    background: radial-gradient(red 15%, green 15%, blue 60%); 
}
&lt;/style&gt;

&lt;br /&gt;
&lt;div id=&quot;grad1&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;b&gt;&lt;u&gt;Syntax:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;
&lt;b&gt;&lt;i&gt;backgroud: radial-gradient(shape size at position, start-color, ..., end-color) ;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Radial Gradient - Evenly spaced color stops (default)&lt;/h2&gt;
&lt;div&gt;
By, default, color stops are evenly spaced in Radial Gradients.&lt;/div&gt;
&lt;div&gt;
Below code snippet creates an radial gradients:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
#grad { &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  background: -webkit-radial-gradient(red, green, blue); &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  background: -o-radial-gradient(red, green, blue); &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  background: -moz-radial-gradient(red, green, blue); &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  background: radial-gradient(red, green, blue); &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/radial-gradient.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Radial Gradient - Differently spaced color stops&lt;/h2&gt;
&lt;div&gt;
You can also specify a custom space for every color in radial gradient.&lt;/div&gt;
&lt;div&gt;
Look at this example:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
#grad { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -webkit-radial-gradient(red 5%, green 15%, blue 60%); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -o-radial-gradient(red 5%, green 15%, blue 60%); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -moz-radial-gradient(red 5%, green 15%, blue 60%); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: radial-gradient(red 5%, green 15%, blue 60%); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/radial-gradient2.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Define Shape&lt;/h2&gt;
&lt;div&gt;
You can also specify different space in radial gradient.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
shape parameter, takes as values, either &lt;b&gt;circle&lt;/b&gt;&amp;nbsp;or &lt;b&gt;eclipse&lt;/b&gt;. Default value is eclipse.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
The below code snippet creates a radial gradient of a circle shape:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
#grad { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -webkit-radial-gradient(circle, red, yellow, green); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -o-radial-gradient(circle, red, yellow, green); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -moz-radial-gradient(circle, red, yellow, green); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: radial-gradient(circle, red, yellow, green); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/radial-gradient3.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Use different Size Keywords&lt;/h2&gt;
&lt;div&gt;
Size keywords, define size for radial gradients.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
It can take any of these four values:&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;b&gt;closest-side&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;farthest-side&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;closest-corner&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;farthest-corner&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Example:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
#grad1 {
  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -webkit-radial-gradient(60% 55%, closest-side,blue,green,yellow,black); 
  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -o-radial-gradient(60% 55%, closest-side,blue,green,yellow,black);
 &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -moz-radial-gradient(60% 55%, closest-side,blue,green,yellow,black);
&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: radial-gradient(closest-side at 60% 55%,blue,green,yellow,black);
&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&amp;nbsp;#grad2 {
 &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -webkit-radial-gradient(60% 55%, farthest-side,blue,green,yellow,black);
 &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -o-radial-gradient(60% 55%, farthest-side,blue,green,yellow,black);
 &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -moz-radial-gradient(60% 55%, farthest-side,blue,green,yellow,black);
 &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: radial-gradient(farthest-side at 60% 55%,blue,green,yellow,black);
&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/radial-gradient4.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Repeating Radial Gradient&amp;nbsp;&lt;/h2&gt;
&lt;div&gt;
&lt;b&gt;repeating-radial-gradient&lt;/b&gt;&amp;nbsp;is used to repeat a radial gradient:&lt;/div&gt;
&lt;div&gt;
Example:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
#grad {
&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  background: -webkit-repeating-radial-gradient(red, yellow 10%, green 15%);
 &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -o-repeating-radial-gradient(red, yellow 10%, green 15%);
 &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -moz-repeating-radial-gradient(red, yellow 10%, green 15%);
 &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: repeating-radial-gradient(red, yellow 10%, green 15%);
&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/radial-gradient5.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/3961876391056953143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/css3-radial-gradients.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/3961876391056953143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/3961876391056953143'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/css3-radial-gradients.html' title='CSS3 Radial Gradients '/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-4095655175939655504</id><published>2014-10-25T13:55:00.001-07:00</published><updated>2014-10-25T13:59:07.930-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Gradients"/><category scheme="http://www.blogger.com/atom/ns#" term="Linear Gradients"/><title type='text'>CSS3 Linear Gradients </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;style&gt;

#grad1 {
    height: 55px;
    background: -webkit-linear-gradient(left, red, orange, yellow, green, blue, indigo, violet); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(left, red, orange, yellow, green, blue, indigo, violet); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(left, red, orange, yellow, green, blue, indigo, violet); /* For Fx 3.6 to 15 */
    background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet); /* Standard syntax (must be last) */
}
&lt;/style&gt;

&lt;br /&gt;
&lt;div id=&quot;grad1&quot; style=&quot;color: black; font-family: arial; line-height: 55px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;Linear Gradient 
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Gradients allows you to add a simple and smooth transitions between specified colors (the above example describes you a liner gradient in the form of a rainbow).&lt;br /&gt;
&lt;br /&gt;
Early you have to use images to do so, but now CSS3 let you this very easily.&lt;br /&gt;
Using CSS3 gradients, you can reduce you bandwidth usage too. In addition, CSS3 gradients looks better when zoomed out, because gradients are generated by the browser itself.&lt;br /&gt;
&lt;br /&gt;
In CSS3 there are, &lt;b&gt;two types of Gradients:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;1.&amp;nbsp;Linear Gradients (from top to bottom / from left to right)&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;2.&amp;nbsp;Radial Gradients (defined by their center)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Here we will just talk about &lt;b&gt;Linear Gradients&lt;/b&gt;. For Radial Gradients, you can reed &lt;a href=&quot;http://css3wdesign.blogspot.com/2014/10/css3-radial-gradients.html&quot; target=&quot;_blank&quot;&gt;next post&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
CSS3 Linear Gradients&lt;/h2&gt;
&lt;div&gt;
To create a Linear Gradients you must at least define two color stops. Color stops are the colors in which you want to create a transitional look.&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Syntax:&lt;/h4&gt;
&lt;div&gt;
CSS3 gradients are being generated using the following syntax:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;background: linear-gradient ( direction, color-stop1, color-stop2, ... );&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Linear Gradient - Top to Bottom (its default)&amp;nbsp;&lt;/h3&gt;
&lt;div&gt;
This code generates a gradient which starts from and ends at bottom, transitioning between red to blue:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;

#grad { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -webkit-linear-gradient(red, blue); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -o-linear-gradient(red, blue);  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -moz-linear-gradient(red, blue);  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: linear-gradient(red, blue);  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/linear-gradients.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Linear Gradients - Left to Right&lt;/h3&gt;
&lt;div&gt;
This is an example of linear gradients that starts from left:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
#grad { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -webkit-linear-gradient(left, red , blue);  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -o-linear-gradient(right, red, blue);  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -moz-linear-gradient(right, red, blue);  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: linear-gradient(to right, red , blue);  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/linear-gradients2.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Linear Gradients - Diagonal&amp;nbsp;&lt;/h3&gt;
&lt;div&gt;
CSS3 allows you to create DIAGONAL linear gradients too.&lt;/div&gt;
&lt;div&gt;
To create a Diagonal Linear Gradient, you have to specify both ending and starting point and two colors.&lt;/div&gt;
&lt;div&gt;
Below is the example demonstrating a linear gradient:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
#grad { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -webkit-linear-gradient(left top, blue, yellow); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -o-linear-gradient(bottom right, blue, yellow); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -moz-linear-gradient(bottom right, blue, yellow); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: linear-gradient(to bottom right, blue, yellow); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/linear-gradients3.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Using Angles&amp;nbsp;&lt;/h2&gt;
&lt;div&gt;
We can also specify an angular transition in Linear Gradients. Angles can be used to control the direction of an linear gradient.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Below example demonstrates a gradient which is created by using an angle of &lt;b&gt;45deg.&lt;/b&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
#grad { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -webkit-linear-gradient(45deg, red, blue);  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -o-linear-gradient(45deg, red, blue); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -moz-linear-gradient(45deg, red, blue);  &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: linear-gradient(45deg, red, blue); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/linear-gradients-angular.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Using Multiple Color Stops&lt;/h2&gt;
&lt;div&gt;
The CSS3 gradients are not limited to only two colors in a gradients, you can use as many colors as you want.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
For this you just need to define all of the colors you want to show in a gradients.&lt;/div&gt;
&lt;div&gt;
The below code explains&lt;b&gt;&amp;nbsp;how to create a rainbow looking gradient with some text in it&lt;/b&gt;:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
#grad { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -webkit-linear-gradient(left,red,orange,yellow,green,blue,indigo,violet); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -o-linear-gradient(left,red,orange,yellow,green,blue,indigo,violet); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: -moz-linear-gradient(left,red,orange,yellow,green,blue,indigo,violet); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  background: linear-gradient(to right, red,orange,yellow,green,blue,indigo,violet); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/linear-gradients4.html&quot; target=&quot;_blank&quot;&gt;Output&lt;/a&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Using Transparency&amp;nbsp;&lt;/h2&gt;
&lt;div&gt;
Well, to create a nice looking gradient, CSS3 gives you another thing, Transparency.!&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
You can create a fading effect using transparency.&lt;/div&gt;
&lt;div&gt;
To add transparency we use &lt;b&gt;rgba()&lt;/b&gt;&amp;nbsp;to define color stops. In rgba() the last parameter indicates the transparency. Which can be a value from 0 to 1.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
0 indicates full transparency and 1 indicates full color (no transparency).&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
below example defines a gradient with some transparent effect:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
#grad1 { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    height: 200px; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    background: -webkit-linear-gradient(left, rgba(255,0,0,0), rgba(255,0,0,1)); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    background: -o-linear-gradient(right, rgba(255,0,0,0), rgba(255,0,0,1)); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    background: -moz-linear-gradient(right, rgba(255,0,0,0), rgba(255,0,0,1)); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    background: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1)); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;a class=&quot;output&quot; href=&quot;http://css3wdesign.net16.net/linear-gradients-transparent.html&quot; target=&quot;_blank&quot;&gt;output&lt;/a&gt;
&lt;code&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/4095655175939655504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/css3-linear-gradients.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/4095655175939655504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/4095655175939655504'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/css3-linear-gradients.html' title='CSS3 Linear Gradients '/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-3482940659349160612</id><published>2014-10-17T05:29:00.003-07:00</published><updated>2014-10-17T05:29:54.656-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Transforms"/><category scheme="http://www.blogger.com/atom/ns#" term="Matrix"/><category scheme="http://www.blogger.com/atom/ns#" term="Skew"/><title type='text'>CSS3 2D Transforms (Part III) - skew() , matrix()</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
skew()&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;skew() &lt;/span&gt;can be use to turn an element to a given angle. With &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;skew()&lt;/span&gt; property, element is turned to an angle according to the parameters given for horizontal line (X-axis) and vertical line (Y-axis).&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
div#div2 { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -ms-transform: skew(30deg,20deg); /* IE 9 */ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-transform: skew(30deg,20deg); /* Chrome, Safari, Opera */ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    transform: skew(30deg,20deg); /* Standard syntax */ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
This is the output of above mentioned code snippet:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;iframe iframe=&quot;&quot; src=&quot;http://css3wdesign.net16.net/skew.html&quot;&gt;
&lt;/div&gt;
&lt;/iframe&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
matrix()&lt;/h3&gt;
&lt;div&gt;
The &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;matrix()&lt;/span&gt; method combines all of the 2D transforms.&lt;/div&gt;
&lt;div&gt;
It takes six parameters containing mathematical mathematical functions. Which allows you to &lt;b&gt;rotate, scale, move(translate), and skew &lt;/b&gt;elements respectively.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
The below example demonstrates how we can rotate any element using &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;matrix()&lt;/span&gt; method:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;
div#div2 { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -ms-transform: matrix(0.866,0.5,-0.5,0.866,0,0); /* IE 9 */ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-transform: matrix(0.866,0.5,-0.5,0.866,0,0); /* Chrome, Safari, Opera */ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    transform: matrix(0.866,0.5,-0.5,0.866,0,0); /* Standard syntax */ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
This is the output of above mentioned code:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;iframe src=&quot;http://css3wdesign.net16.net/matrix.html&quot;&gt;
&lt;/iframe&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
For detailed CSS3 2D transforms Methods, Visit &lt;a href=&quot;http://css3wdesign.blogspot.com/2014/10/css3-2d-transforms-methods-table.html&quot; target=&quot;_blank&quot;&gt;Next Post&lt;/a&gt;.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/3482940659349160612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/css3-2d-transforms-part-iii-skew-matrix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/3482940659349160612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/3482940659349160612'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/css3-2d-transforms-part-iii-skew-matrix.html' title='CSS3 2D Transforms (Part III) - skew() , matrix()'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-1785643946198625815</id><published>2014-10-17T05:29:00.001-07:00</published><updated>2014-10-17T05:29:14.150-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Transforms"/><category scheme="http://www.blogger.com/atom/ns#" term="Table"/><title type='text'>CSS3 2D Transforms Methods (Table)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; style=&quot;border-collapse: collapse;&quot;&gt;
			&lt;tbody&gt;
&lt;tr&gt;
				&lt;th&gt;Function&lt;/th&gt;			
				&lt;th&gt;Description&lt;/th&gt;
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;matrix(n,n,n,n,n,n)&lt;/td&gt;
				&lt;td&gt;Defines a 2D transformation, using a matrix of six values&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;translate(x,y)&lt;/td&gt;
				&lt;td&gt;Defines a 2D translation, moving the element along the X-axis and Y-axis&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;translateX(n)&lt;/td&gt;
				&lt;td&gt;Defines a 2D translation, moving the element along X-axis&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;translateY(n)&lt;/td&gt;
				&lt;td&gt;Defines a 2D translation, moving the element along Y-axis&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;scale(x,y)&lt;/td&gt;
				&lt;td&gt;Defines a 2D scale transformation, changing the element&#39;s width and height&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;scaleX(n)&lt;/td&gt;
				&lt;td&gt;Defines a 2D scale transformation, changing the element&#39;s width &lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;scaleY(n)&lt;/td&gt;
				&lt;td&gt;Defines a 2D scale transformation, changing the element&#39;s height&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;rotate(angle)&lt;/td&gt;
				&lt;td&gt;Defines a 2D rotation, the angle is specified in the parameters&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;skew(x-angle,y-angle)&lt;/td&gt;
				&lt;td&gt;Defines a 2D skew transformation along the X-axis and Y-axis&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;skewX(angle)&lt;/td&gt;
				&lt;td&gt;Defines a 2D skew transformation along the X-axis&lt;/td&gt;			
			&lt;/tr&gt;
&lt;tr&gt;
				&lt;td&gt;skewY(angle)&lt;/td&gt;
				&lt;td&gt;Defines a 2D skew transformation along the Y-axis&lt;/td&gt;			
			&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
quoted form: &lt;a href=&quot;http://w3schools.com/&quot; target=&quot;_blank&quot;&gt;W3Schools.com&lt;/a&gt;\&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/1785643946198625815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/css3-2d-transforms-methods-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/1785643946198625815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/1785643946198625815'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/css3-2d-transforms-methods-table.html' title='CSS3 2D Transforms Methods (Table)'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-1043590155914156482</id><published>2014-10-13T11:22:00.000-07:00</published><updated>2014-10-13T11:40:58.721-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Transforms"/><category scheme="http://www.blogger.com/atom/ns#" term="Scale"/><category scheme="http://www.blogger.com/atom/ns#" term="Translate"/><title type='text'>CSS3 2D Transforms (Part II) - translate() , scale()</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This is another tutorial about CSS3&#39;s 2D Transforms.&lt;br /&gt;
In this tutorial we will be discussing&amp;nbsp;&lt;code&gt;translate()&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code&gt;scale()&lt;/code&gt;&amp;nbsp;properties of 2D transforms.&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
translate()&lt;/h2&gt;
&lt;div&gt;
Using this property we can move any element from it&#39;s current position to some where else, except Space :P&lt;/div&gt;
&lt;div&gt;
I mean, if a div box&#39;s initial position is 10px form right and 10px from top. With&amp;nbsp;&lt;code&gt;transform()&lt;/code&gt;&amp;nbsp;we can move it from 10px right to 50px right and from 10px top to 50px top.&lt;br /&gt;
Not just 10&#39;s and 50&#39;s, you can choose these values, whatever you want.&lt;br /&gt;
&lt;br /&gt;
Look at the code snippet below:&lt;/div&gt;
&lt;div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
div#div2 { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -ms-transform: translate(50px,100px); /* IE 9 */ &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-transform: translate(50px,100px); /* Chrome, Safari, Opera */ &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    transform: translate(50px,100px); /* Standard syntax */ &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
   }

&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
Look at the output:&lt;/div&gt;
&lt;iframe src=&quot;http://css3wdesign.net16.net/translate.html&quot; style=&quot;border-radius: 6px; border: 3px solid black; height: 250px; padding: 3px; width: 600px;&quot;&gt;

&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
Well, let&#39;s try something cool in the above example. Just hover over the &quot;Second DIV element&quot;, and see:&lt;/div&gt;
&lt;iframe src=&quot;http://css3wdesign.net16.net/translate2.html&quot; style=&quot;border-radius: 6px; border: 3px solid black; height: 250px; padding: 3px; width: 600px;&quot;&gt;

&lt;/iframe&gt;
&lt;/div&gt;
&lt;br /&gt;
Here is the whole CSS3 code used for second output box:&lt;br /&gt;
&lt;div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
div { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    width: 100px; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    height: 75px; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    background-color: red; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    border: 1px solid black; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    transition: 0.3s; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-transition: 0.3s; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -ms-transition: 0.3s; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -o-transition: 0.3s; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
   } &lt;br /&gt; &lt;br /&gt;

div#div2 { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -ms-transform: translate(50px,100px); /* IE 9 */ &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-transform: translate(50px,100px); /* Chrome, Safari, Opera */ &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    transform: translate(50px,100px); /* Standard syntax */ &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
background-color: yellow; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
   }

&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
scale()&lt;/h2&gt;
&lt;div&gt;
This property is used to change the width and height of any HTML element using CSS3.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
You can do pretty much cool things using this property e.g., &lt;b&gt;a popping out image on hover, or some DIV element increasing its width and height on hover etc.&lt;/b&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
Hover over the second DIV element, and see:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;iframe src=&quot;http://css3wdesign.net16.net/scale.html&quot; style=&quot;border-radius: 6px; border: 3px solid black; height: 250px; padding: 3px; width: 600px;&quot;&gt;

&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
The code used in the above example is:&lt;br /&gt;
&lt;div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
div#div2 { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -ms-transform: scale(2,3); /* IE 9 */ &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    -webkit-transform: scale(2,3); /* Chrome, Safari, Opera */ &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    transform: scale(2,3); /* Standard syntax */ &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
   }

&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;
You can try alot of different effects using CSS3 2D transforms. Just play with them, apply them to some of the images, and see the results. If you face any kind of difficulty at any place, you can simply do comment, and I&#39;ll reach you as soon as possible.&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/1043590155914156482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/css3-2d-transforms-part-ii-translate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/1043590155914156482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/1043590155914156482'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/css3-2d-transforms-part-ii-translate.html' title='CSS3 2D Transforms (Part II) - translate() , scale()'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-4723512254292283525</id><published>2014-10-10T10:43:00.000-07:00</published><updated>2014-10-10T10:48:06.192-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Transforms"/><category scheme="http://www.blogger.com/atom/ns#" term="Rotate"/><title type='text'>Rotate any HTML Element using CSS3 - CSS3 Transforms Part 1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
As we CSS and CSS3 allows us to make our web pages look more advanced, beautiful and interactive.&lt;br /&gt;
This post is about one of &amp;nbsp;CSS3&#39;s advanced properties,&amp;nbsp;&lt;code&gt;transform&lt;/code&gt;&amp;nbsp;. This property can do a lot of things, like &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;moving element from its current position, rotating, turning, skewing&lt;/span&gt;&lt;/b&gt;&amp;nbsp;etc. I&#39;ll be sharing all of them one by one.&lt;br /&gt;
&lt;br /&gt;
The first one, we gonna talk about is, &lt;b&gt;ROTATE&lt;/b&gt;.&lt;br /&gt;
I don&#39;t there would be anyone, who don&#39;t the meaning of ROTATING, Is there?&lt;br /&gt;
Well! Either no or yes, we will explain.&lt;br /&gt;
Hmm... According to &lt;a href=&quot;http://translate.google.com/&quot; target=&quot;_blank&quot;&gt;google translate&lt;/a&gt;, the ROTATE means, &quot;move or cause to move something in a circle around an axis or center.&quot; e.g., A wheel rotates in a circle around its center.&lt;br /&gt;
I hope now its clear.&lt;br /&gt;
&lt;br /&gt;
In CSS3, rotate means exactly same as in the above example.&lt;br /&gt;
Better see a demo, Just hove over the below box and see:&lt;br /&gt;
&lt;br /&gt;
&lt;style&gt;
		
		.rotaitingbox {
			width: 100px;
			text-align: center;
			padding: 40px;
			background: red;
			color: black;
			border: 2px solid black;
			}
		.rotaitingbox:hover {
			-webkit-transform: rotate(40deg);
			-ms-transform: rotate(40deg);
			-moz-transform: rotate(40deg);
			-webkit-transform: rotate(40deg);
			transform: rotate(40deg);
		}
	.rotates img {
				width: 80px; 
				height: 80px;
				border: 6px solid white;
				border-radius: 50px;
				transition: 0.3s;
				-webkit-transition: 0.3s;
				-moz-transition: 0.3s;
				-o-transition: 0.3s;
				-ms-transition: 0.3s;
			}
			.rotates img:hover {
border-color: black;
				-webkit-transform: rotate(30deg);
				-ms-transform: rotate(30deg);
				-moz-transform: rotate(30deg);
				-webkit-transform: rotate(30deg);
				transform: rotate(30deg);
			}
		
	&lt;/style&gt;
	&lt;br /&gt;
&lt;div class=&quot;rotaitingbox&quot;&gt;
This is a simple div element.
		
	&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Well! How can be this helpful in our web pages?&lt;br /&gt;
We can use this feature in to our images. Hovering over some image and rotating it.&lt;br /&gt;
Hover over the image below:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;rotates&quot;&gt;
&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOqXPrxbWfbBfJSTI4-pX-zS95ILAeHheSgBvWJmGNnMUEk5Mp4lj3NoXHDQI1KB6gHW_GsSV4IM5nD5jPv4ER4sce8Iizd1lFDCPcZBOsRXqFx1ese8vcWOxUTJAz03VfhNUbb4DQXnU/s320/image.jpg&quot; /&gt;
		&lt;br /&gt;
&lt;br /&gt;
I know, it&#39;s very cool effect.&lt;br /&gt;
I just used the following code in the above example:&lt;/div&gt;
&lt;div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
.rotates img { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				width: 80px; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				height: 80px; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				border: 6px solid white; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				border-radius: 50px; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				transition: 0.3s; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				-webkit-transition: 0.3s; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				-moz-transition: 0.3s; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				-o-transition: 0.3s; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				-ms-transition: 0.3s; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
			} &lt;br /&gt;
			.rotates img:hover { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				border-color: black; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				-webkit-transform: rotate(30deg); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				-ms-transform: rotate(30deg); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				-moz-transform: rotate(30deg); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				-webkit-transform: rotate(30deg); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
				transform: rotate(30deg); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
			}&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 2px solid black; padding: 5px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;-webkit-, -moz-, -o-, -ms-&lt;/span&gt; &lt;/b&gt; are being used to overcome the Cross Browser Problems. 
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/4723512254292283525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/rotate-any-html-element-using-css3-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/4723512254292283525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/4723512254292283525'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/rotate-any-html-element-using-css3-css.html' title='Rotate any HTML Element using CSS3 - CSS3 Transforms Part 1'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOqXPrxbWfbBfJSTI4-pX-zS95ILAeHheSgBvWJmGNnMUEk5Mp4lj3NoXHDQI1KB6gHW_GsSV4IM5nD5jPv4ER4sce8Iizd1lFDCPcZBOsRXqFx1ese8vcWOxUTJAz03VfhNUbb4DQXnU/s72-c/image.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-2870251962890257026</id><published>2014-10-09T00:44:00.000-07:00</published><updated>2014-10-09T00:44:07.037-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Fonts"/><title type='text'>Define and use your &quot;own&quot; fonts in CSS3 (@font-face rule)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Dancing Script&#39;, cursive; font-size: 28px;&quot;&gt; With CSS3, you are not bound to use only &#39;Web-Safe&#39; fonts. You can use whatever fonts you want. &lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;
As we all know CSS3 allows the developers to design the website as the developer wants. It gives us a lot of opportunities,&lt;br /&gt;
With HTML, we can just use the web-safe fonts. I&#39;ll say, HTML allows us to use only default fonts.&lt;br /&gt;
But with CSS3 we are not limited to the web-safe fonts only. We can use any kind of fonts into our pages.&lt;br /&gt;
As you see on the top of the page, I&#39;ve used some different and modern fonts.&lt;br /&gt;
&lt;br /&gt;
If you want to use some different fonts into your web page, you can do this using&amp;nbsp;&lt;code&gt;@font-face&lt;/code&gt;&amp;nbsp;rule.&lt;/div&gt;
&lt;hr /&gt;
&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Different Font Formats&lt;/h2&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
TrueType Fonts (TTF)&lt;/h4&gt;
&lt;div&gt;
TrueType is a font standard developed in the late 1980s, by Apple and Microsoft. TruType is the most commons format for both Mac OS and Microsoft Windows operating systems.&amp;nbsp;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
OpenType Fonts (OTF)&lt;/h4&gt;
&lt;div&gt;
OpenTYpe is a format for scalable computer fonts. It was built on TrueType, and is a registered trademark of Microsoft. OpenType fonts are used commonly today on the major Computer platforms.&amp;nbsp;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
The Web Open Font Format (WOFF)&lt;/h4&gt;
&lt;div&gt;
WOFF is a font format for use in web pages. It was developed in 2009, and is now a W3C Recommendation. WOFF is essentially OpenType or TruType with compression and additional metadata. The Goal is to support font distribution from a server to a client over a network with bandwidth constraints.&amp;nbsp;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
SVG Fonts/Shapes&lt;/h4&gt;
&lt;div&gt;
SVG fonts allow SVG to be used as glyphs when displaying text. The SVG 1.1 specification define a font module that allows the creation of fonts within and SVG document. You can also apply CSS to SVG document, and the&amp;nbsp;@font-face rule can be applied to text in SVG documents.&amp;nbsp;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Embedded OpenType Fonts (EOT)&lt;/h4&gt;
&lt;div&gt;
EOT fonts are a compact form of OpenType fonts designed by Microsoft for use as embedded fonts on web pages.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Defining your own Fonts&lt;/h2&gt;
&lt;div&gt;
In the CSS3 you can define your own fonts using&amp;nbsp;@font-face rule. In&amp;nbsp;@font-face rule, first you need to define a name for the font and then point to the font file.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
@font-face { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
font-family: AlexaBrush;   &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
src: url(AlexaBrush-Regular.ttf); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXhIcEjTwDkhnZ-i2zK-DIUCqTAFMo33SX9cdSjZ3eHenxLqASoNKOplMsTvXZd2QOLX0dcrzPqDmtMHWBH7redzcoewzgcxlUOnqpayrhBpknC5RwL7IWbmie6U_S584VHh_a7Us_SoQ/s1600/output.png&quot; height=&quot;20px&quot; width=&quot;20px&quot; /&gt; &lt;span style=&quot;font-size: 26px;&quot;&gt;Output: 
&lt;/span&gt;
&amp;nbsp;&lt;a href=&quot;http://goo.gl/iK3fhd&quot; target=&quot;_blank&quot;&gt;http://goo.gl/iK3fhd&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
You can download the AlexaBrush font &lt;a href=&quot;https://drive.google.com/file/d/0B19GVHQs7aqiWFVkbVduZkxBOUk/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;Here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Using Bold Fonts&lt;/h2&gt;
&lt;div&gt;
If you want to use the same font but with &lt;b&gt;bold &lt;/b&gt;style, you need to define another&amp;nbsp;@font-face rule containing the bold font&#39;s descriptors.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
@font-face { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
font-family: TlwgTypist;   &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
src: url(TlwgTypist.ttf); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
} &lt;br /&gt; &lt;br /&gt;
@font-face { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
font-family: TlwgTypist;   &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
src: url(TlwgTypist-Bold.ttf); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
font-weight: bold; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
} &lt;br /&gt; &lt;br /&gt;
p { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
font-family: TlwgTypist; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
}&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXhIcEjTwDkhnZ-i2zK-DIUCqTAFMo33SX9cdSjZ3eHenxLqASoNKOplMsTvXZd2QOLX0dcrzPqDmtMHWBH7redzcoewzgcxlUOnqpayrhBpknC5RwL7IWbmie6U_S584VHh_a7Us_SoQ/s1600/output.png&quot; height=&quot;20px&quot; width=&quot;20px&quot; /&gt; &lt;span style=&quot;font-size: 26px;&quot;&gt;Output: 
&lt;/span&gt;
&amp;nbsp;&lt;a href=&quot;http://goo.gl/EP1CJ8&quot; target=&quot;_blank&quot;&gt;http://goo.gl/EP1CJ8&lt;/a&gt;&amp;nbsp; (Download TlwgTypist Fonts, &lt;a href=&quot;https://drive.google.com/file/d/0B19GVHQs7aqiUWR6ZHhrTEFYRjA/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;HERE&lt;/a&gt;)&lt;br /&gt;
In the above code &quot;TlwgTypist-Bold.ttf&quot; is another font file with Bold fonts.&lt;br /&gt;
Browser will use this whenever a TlwgTypist font is rendered as bold.&lt;br /&gt;
This way you can use your own fonts using&amp;nbsp;@font-face.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/2870251962890257026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/define-and-use-your-own-fonts-in-css3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/2870251962890257026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/2870251962890257026'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/define-and-use-your-own-fonts-in-css3.html' title='Define and use your &quot;own&quot; fonts in CSS3 (@font-face rule)'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXhIcEjTwDkhnZ-i2zK-DIUCqTAFMo33SX9cdSjZ3eHenxLqASoNKOplMsTvXZd2QOLX0dcrzPqDmtMHWBH7redzcoewzgcxlUOnqpayrhBpknC5RwL7IWbmie6U_S584VHh_a7Us_SoQ/s72-c/output.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-2863749436020414154</id><published>2014-10-05T04:52:00.002-07:00</published><updated>2014-10-05T04:52:27.991-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Borders"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Borders"/><title type='text'>CSS3 Borders for different HTML Elements (Part II)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Move to previous part:
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://css3wdesign.blogspot.com/2014/10/css3-borders-for-different-html.html&quot; style=&quot;background: orange; border-radius: 4px; border: 2px solid orange; color: white; display: block; height: 50px; line-height: 50px; text-align: center; text-decoration: none; text-shadow: 2px 2px gray; width: 100px;&quot;&gt;Part I&lt;/a&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;hr /&gt;
Border Radius&lt;/h3&gt;
&lt;div&gt;
The simple borders have four sharp corners, when it is set to default styling.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
If we want to change the border&#39;s corners from sharp to rounded, we have to define the&amp;nbsp;&lt;code&gt;border-radius&lt;/code&gt;&amp;nbsp;property.&lt;br /&gt;
Its value can be set in &lt;b&gt;pixels.&lt;/b&gt;&lt;br /&gt;
Have a look below:&lt;/div&gt;
&lt;div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;p.one { border: 1px solid green; border-radius: 6px; } &lt;/code&gt;
&lt;/div&gt;
It gives a nice looking effect on the elements. You can design a lot of boxes and buttons, using this technique.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Border Individual Sides&lt;/h3&gt;
&lt;div&gt;
As we know, each border around an element, have four sides, &lt;b&gt;left. right, top&lt;/b&gt;&amp;nbsp;and &lt;b&gt;bottom&lt;/b&gt;.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
CSS allows us to design each side individually.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
Look at the example below:&amp;nbsp;&lt;/div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;p.one { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border-top-style: dotted; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border-right-style: double; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border-bottom-style: dashed; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border-left-style: solid;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/code&gt;


&lt;br /&gt;
&lt;div&gt;
&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXhIcEjTwDkhnZ-i2zK-DIUCqTAFMo33SX9cdSjZ3eHenxLqASoNKOplMsTvXZd2QOLX0dcrzPqDmtMHWBH7redzcoewzgcxlUOnqpayrhBpknC5RwL7IWbmie6U_S584VHh_a7Us_SoQ/s1600/output.png&quot; height=&quot;20px&quot; width=&quot;20px&quot; /&gt; &lt;span style=&quot;font-size: 26px;&quot;&gt;Output: 
&lt;/span&gt;
&amp;nbsp;&lt;a href=&quot;http://goo.gl/Se0wHi&quot; target=&quot;_blank&quot;&gt;http://goo.gl/Se0wHi&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
We can also specify different color for each side individually.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Look at the example below:&amp;nbsp;&lt;/div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;p.one { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
border: 5px solid;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border-top-color: yellow; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border-right-color: rgb(255,243,225); &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border-bottom-color: #ff0011; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; border-left-color: red;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/code&gt;


&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXhIcEjTwDkhnZ-i2zK-DIUCqTAFMo33SX9cdSjZ3eHenxLqASoNKOplMsTvXZd2QOLX0dcrzPqDmtMHWBH7redzcoewzgcxlUOnqpayrhBpknC5RwL7IWbmie6U_S584VHh_a7Us_SoQ/s1600/output.png&quot; height=&quot;20px&quot; width=&quot;20px&quot; /&gt; &lt;span style=&quot;font-size: 26px;&quot;&gt;Output:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://goo.gl/1uWDtj&quot; target=&quot;_blank&quot;&gt;http://goo.gl/1uWDtj&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
We can also change the width of each side individually.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;p.one { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
border-style: solid;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;border-left-width: 15px; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/code&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXhIcEjTwDkhnZ-i2zK-DIUCqTAFMo33SX9cdSjZ3eHenxLqASoNKOplMsTvXZd2QOLX0dcrzPqDmtMHWBH7redzcoewzgcxlUOnqpayrhBpknC5RwL7IWbmie6U_S584VHh_a7Us_SoQ/s1600/output.png&quot; height=&quot;20px&quot; width=&quot;20px&quot; /&gt; &lt;span style=&quot;font-size: 26px;&quot;&gt;Output:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://goo.gl/Jy04p0&quot; target=&quot;_blank&quot;&gt;http://goo.gl/Jy04p0&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;/div&gt;
Border Style property can have one to four values.&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;b&gt;border-style: dotted solid double dashed;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;top border is dotted&lt;/li&gt;
&lt;li&gt;right border is solid&lt;/li&gt;
&lt;li&gt;bottom border is doubled&lt;/li&gt;
&lt;li&gt;left border is dashed&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;b&gt;border-style: dotted solid dashed;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;top border is dotted&lt;/li&gt;
&lt;li&gt;right border is solid&lt;/li&gt;
&lt;li&gt;bottom border is dashed&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;b&gt;border-style: double dotted;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;top border is doubled&lt;/li&gt;
&lt;li&gt;right border is dotted&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;b&gt;border-style: dashed;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;all sides are dashed&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Border Short Hand Property&lt;/h3&gt;
&lt;div&gt;
As we all know we have to deal with a lot of properties when dealing with borders.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
To shorten the code there is a short hand property for borders.&lt;/div&gt;
&lt;div&gt;
Short Hand property of borders deals with the following three border properties:&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;border-width&lt;/li&gt;
&lt;li&gt;border-style&lt;/li&gt;
&lt;li&gt;border-color&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;p.one { &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
border: 2px solid red;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;Have a look on the table containing &lt;a href=&quot;http://css3wdesign.blogspot.com/2014/10/all-css-border-properties-table.html&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;All&lt;/b&gt; &lt;b&gt;CSS Border Properties&lt;/b&gt;.&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/2863749436020414154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/css3-borders-for-different-html_5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/2863749436020414154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/2863749436020414154'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/css3-borders-for-different-html_5.html' title='CSS3 Borders for different HTML Elements (Part II)'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXhIcEjTwDkhnZ-i2zK-DIUCqTAFMo33SX9cdSjZ3eHenxLqASoNKOplMsTvXZd2QOLX0dcrzPqDmtMHWBH7redzcoewzgcxlUOnqpayrhBpknC5RwL7IWbmie6U_S584VHh_a7Us_SoQ/s72-c/output.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-1089193840314719930</id><published>2014-10-05T04:51:00.003-07:00</published><updated>2014-10-05T04:51:55.337-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Borders"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Borders"/><title type='text'>All CSS Border Properties (Table)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; style=&quot;border-collapse: collapse; width: 100%;&quot;&gt;
		&lt;tbody&gt;
&lt;tr&gt;
			&lt;th&gt;Property&lt;/th&gt;
			&lt;th&gt;Description&lt;/th&gt;
		&lt;/tr&gt;
&lt;tr&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border &lt;/td&gt;
			&lt;td&gt;Sets all the border properties in one declaration &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-bottom &lt;/td&gt;
			&lt;td&gt;Sets all the bottom border properties in one declaration &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-bottom-color &lt;/td&gt;
			&lt;td&gt;Sets the color of the bottom border &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-bottom-style &lt;/td&gt;
			&lt;td&gt;Sets the style of the bottom border &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-bottom-width &lt;/td&gt;
			&lt;td&gt;Sets the width of the bottom border &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-color &lt;/td&gt;
			&lt;td&gt;Sets the color of the four borders &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-left &lt;/td&gt;
			&lt;td&gt;Sets all the left border properties in one declaration &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-left-color &lt;/td&gt;
			&lt;td&gt;Sets the color of the left border &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-left-style &lt;/td&gt;
			&lt;td&gt;Sets the style of the left border &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-left-width &lt;/td&gt;
			&lt;td&gt;Sets the width of the left border &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-right &lt;/td&gt;
			&lt;td&gt;Sets all the right border properties in one declaration &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-right-color &lt;/td&gt;
			&lt;td&gt;Sets the color of the right border &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-right-style &lt;/td&gt;
			&lt;td&gt;Sets the style of the right border &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-right-width &lt;/td&gt;
			&lt;td&gt;Sets the width of the right border &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-style &lt;/td&gt;
			&lt;td&gt;Sets the style of the four borders &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-top &lt;/td&gt;
			&lt;td&gt;Sets all the top border properties in one declaration &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-top-color &lt;/td&gt;
			&lt;td&gt;Sets the color of the top border &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-top-style &lt;/td&gt;
			&lt;td&gt;Sets the style of the top border &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-top-width &lt;/td&gt;
			&lt;td&gt;Sets the width of the top border &lt;/td&gt;
		&lt;/tr&gt;
&lt;tr&gt;
			&lt;td&gt;border-width &lt;/td&gt;
			&lt;td&gt;Sets the width of the four borders &lt;/td&gt;
		&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/1089193840314719930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/all-css-border-properties-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/1089193840314719930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/1089193840314719930'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/all-css-border-properties-table.html' title='All CSS Border Properties (Table)'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-7667012662426885440</id><published>2014-10-04T12:37:00.000-07:00</published><updated>2014-10-04T22:50:35.374-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Borders"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Borders"/><title type='text'>CSS3 Borders for different HTML Elements (Part I)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Borders are also a way to make some elements look beautiful on your sites.&lt;br /&gt;
And some elements needs some border to separate from others.&lt;br /&gt;
Just have a look on a simple paragraph having some border around it:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;egpara&quot;&gt;
&lt;span style=&quot;border-radius: 4px; border: 1px solid; padding: 3px;&quot;&gt;This is a paragraph with some border around it. We can design and decorate the border as we want. &lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Adding border to some element:&lt;/h3&gt;
&lt;div&gt;
If you decided to add a border around some element, simply select the element in CSS style section and add the border properties for it. Look at the code snippet below: &lt;/div&gt;
&lt;div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
.someclass p { border: 1px solid; }
&lt;/code&gt;
&lt;/div&gt;
This will add a solid border of 1px around the selected element.&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Border Style&lt;/h3&gt;
&lt;div&gt;
Border style property defines the style of any HTML elements&#39;s border, like &lt;b&gt;dotted, dashed&lt;/b&gt;&amp;nbsp;etc.&amp;nbsp;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
border-style values:&amp;nbsp;&lt;/h4&gt;
&lt;div&gt;
Border style values can be:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border-radius: 4px; border: 1px solid gray; padding: 6px;&quot;&gt;
&lt;div style=&quot;border-style: none; border: 1px;&quot;&gt;
&lt;b&gt;none&lt;/b&gt;: defines no border&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 1px dotted;&quot;&gt;
&lt;b&gt;dotted&lt;/b&gt;: defines a dotted line around element.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 1px dashed;&quot;&gt;
&lt;b&gt;dashed&lt;/b&gt;: defines a dashed line around element.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 1px solid;&quot;&gt;
&lt;b&gt;solid&lt;/b&gt;: defines a solid line around element.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 1px double;&quot;&gt;
&lt;b&gt;double&lt;/b&gt;: defines a double border around the element.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 5px groove red;&quot;&gt;
&lt;b&gt;groove&lt;/b&gt;: defines a 3D grooved border. The effect depends on the border-color value&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 5px ridge red;&quot;&gt;
&lt;b&gt;ridge&lt;/b&gt;: defines a 3D ridged border. The effect depends on the border-color value&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 5px inset red;&quot;&gt;
&lt;b&gt;inset&lt;/b&gt;: defines a 3D inset border. The effect depends on the border-color value&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 5px outset red;&quot;&gt;
&lt;b&gt;outset&lt;/b&gt;: defines a 3D outset border. The effect depends on the border-color value&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Border width:&lt;/h3&gt;
&lt;div&gt;
We can use the border of our desired thickness as well. We just need to set the&amp;nbsp;&lt;code&gt;border-width&lt;/code&gt;&amp;nbsp;property to do so.&lt;br /&gt;
Border width can be set in pixels or in &lt;b&gt;three pre-defined&lt;/b&gt;&amp;nbsp;value, &lt;b&gt;thin, medium &lt;/b&gt;and &lt;b&gt;thick&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 1px solid; padding: 5px;&quot;&gt;
&lt;b&gt;Note:&lt;/b&gt; The &lt;code&gt;border-width&lt;/code&gt;&amp;nbsp;property can not work alone. We have to define the border using &lt;code&gt;border-style&lt;/code&gt;&amp;nbsp;property first. 
&lt;/div&gt;
&lt;br /&gt;
Have a look here:&lt;/div&gt;
&lt;div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
.someclass p { border: 1px; border-style: solid; border-width: 5px; }&lt;/code&gt;&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;p.two { border-style: solid; border-width: medium; }&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Border Color:&lt;/h3&gt;
&lt;div&gt;
To look borders more nice, we can change the color of the border too.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
To do so, we just need to define&amp;nbsp;&lt;code&gt;border-color&lt;/code&gt;&amp;nbsp;property.&lt;br /&gt;
Border color can be set by:&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;name - by specifying a color name like &quot;red&quot;&lt;/li&gt;
&lt;li&gt;RGB - Specify an RGB value like &quot;rgb(255,255,255)&quot;&lt;/li&gt;
&lt;li&gt;Hex - Specify a Hex value like &quot;#ffffff&quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
If the border color property is not specified, then it is inherited from the element.&amp;nbsp;&lt;/div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;p.one { border-style: solid; border-color: red; } &lt;br /&gt; p.two { border-style: solid; border-color: #ff0011; }
&lt;/code&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;div&gt;
Learn more in the next part: &lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://css3wdesign.blogspot.com/2014/10/css3-borders-for-different-html_4.html&quot; style=&quot;background: orange; border-radius: 4px; border: 2px solid orange; color: white; display: block; height: 50px; line-height: 50px; text-align: center; text-decoration: none; text-shadow: 2px 2px gray; width: 100px;&quot;&gt;Part II&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/7667012662426885440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/css3-borders-for-different-html.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/7667012662426885440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/7667012662426885440'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/10/css3-borders-for-different-html.html' title='CSS3 Borders for different HTML Elements (Part I)'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-350424958410842871</id><published>2014-09-16T05:37:00.001-07:00</published><updated>2014-10-04T12:32:10.175-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Introduction"/><category scheme="http://www.blogger.com/atom/ns#" term="designing tables"/><category scheme="http://www.blogger.com/atom/ns#" term="tables"/><title type='text'>Styling tables using CSS3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Everyone know about simple tables and how they look. We use the tables to display the data on our web pages. When we talk about the website design, everything on the website must be in a proper design pattern, so it look attractive.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This is a simplest example of how the table looks:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN31vi5v06BiTyvzZY2glGEvR4Oov6RhSt190_9H9IioXjJtCSNbEklPSPc0aXdGs2ejlw8xVlfLO25vmvb640fZrndOb8ohM4s0j0dbDnZs9tIdWwxs5gB99ntK1uyVlIDK8UhIUZUt4/s1600/1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN31vi5v06BiTyvzZY2glGEvR4Oov6RhSt190_9H9IioXjJtCSNbEklPSPc0aXdGs2ejlw8xVlfLO25vmvb640fZrndOb8ohM4s0j0dbDnZs9tIdWwxs5gB99ntK1uyVlIDK8UhIUZUt4/s1600/1.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;May be its the best one for some of the sites, but its not so good looking at all.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;According to our themes, most of the time, we gotta design everything present on a single page.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Like other things we can design tables too using CSS3.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;
Table Borders&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;By default, when we use &lt;code&gt;&amp;lt;table&amp;gt;&lt;/code&gt;&amp;nbsp;tags, the border of the table is set to none. Means there is no border by default. We can make some border around the table using HTML and CSS3 too:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
table, th, td {
    border: 1px solid black;
}
&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The above code will show a &lt;b&gt;1px&lt;/b&gt;&amp;nbsp;black border around the all the tables in the page.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;e.g.,&amp;nbsp;&lt;a href=&quot;http://css3wdesign.net16.net/border.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/border.html&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In the above mentioned example the table has double border on its sides. This is because the &lt;b&gt;th/td&lt;/b&gt;&amp;nbsp;elements have separate borders mentioned.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;To show a single border on it we use:&lt;/span&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;
border-collapse property&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The &lt;code&gt;border-collapse&lt;/code&gt; property indicates that whether the border of the table are &lt;b&gt;&lt;u&gt;collapse&lt;/u&gt;&lt;/b&gt;d or &lt;b&gt;&lt;u&gt;separate&lt;/u&gt;&lt;/b&gt;d&lt;b&gt;.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
table { 
border-collapse: collapse;
}  &lt;br /&gt;
table, th, td { 1px solid black; }
&lt;/code&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;It gives a very good looking effect on table. Have a look yourself:&amp;nbsp;&lt;a href=&quot;http://tinyurl.com/q8plg6k&quot; target=&quot;_blank&quot;&gt;http://tinyurl.com/q8plg6k&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Table Width and Height&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;We can also change the table width and height with CSS3. We can change the table&#39;s cell height separately too.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
table { width: 100%; } &lt;br /&gt;
th { height: 50px; } 
&lt;/code&gt;
&lt;/div&gt;
e.g.,&amp;nbsp;&lt;a href=&quot;http://tinyurl.com/myzmc3c&quot; target=&quot;_blank&quot;&gt;http://tinyurl.com/myzmc3c&lt;/a&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Table Text Alignment&lt;/h3&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Horizontal Alignment&lt;/h4&gt;
&lt;div&gt;
We can change the text alignment in the table cell too.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
The&amp;nbsp;&lt;code&gt;text-align&lt;/code&gt;&amp;nbsp;property sets the text&#39;s horizontal place, like &lt;b&gt;left, center or right&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
th { text-align: left; }
&lt;/code&gt;&lt;/div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Vertical Alignment&lt;/h4&gt;
&lt;div&gt;
We can also change the vertical place of the text in a cell, like &lt;b&gt;top, bottom or middle&lt;/b&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
th { height: 50px; &lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vertical-align: bottom; }
&lt;/code&gt;&lt;/div&gt;
&lt;h3&gt;
Table Padding&lt;/h3&gt;
&lt;div&gt;
By default the table don&#39;t have any space between the border and text. To control the space between the table cell and content in the cell we use&amp;nbsp;&lt;code&gt;pading&lt;/code&gt;&amp;nbsp;property. We can set its value in pixels.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
td { padding: 15px; }
&lt;/code&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;
Background Color&lt;/h3&gt;
&lt;div&gt;
We can change the table&#39;s background color too. It allows us to make the table look like our theme.&lt;/div&gt;
&lt;div&gt;
We can design interactive tables using this property.&lt;/div&gt;
&lt;div&gt;
The below code snippet specifies the table&#39;s border colors and text color and th element&#39;s background color:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;code style=&quot;background: #EBEBE0; display: block; margin: 20px; padding: 20px; width: 100%;&quot;&gt;
table, td, th {
    border: 1px solid green;
}
&lt;br /&gt;
th {
    background-color: green;
    color: white;
}
&lt;/code&gt;&lt;/div&gt;
Have a look on the fully designed and customized table here:&amp;nbsp;&lt;a href=&quot;http://tinyurl.com/lt5mecj&quot; target=&quot;_blank&quot;&gt;http://tinyurl.com/lt5mecj&lt;/a&gt;&lt;br /&gt;
Download the code given in the following article:&amp;nbsp;&lt;a href=&quot;http://tinyurl.com/oarhaoa&quot; target=&quot;_blank&quot;&gt;http://tinyurl.com/oarhaoa&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/350424958410842871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/09/styling-tables-using-css3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/350424958410842871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/350424958410842871'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/09/styling-tables-using-css3.html' title='Styling tables using CSS3'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN31vi5v06BiTyvzZY2glGEvR4Oov6RhSt190_9H9IioXjJtCSNbEklPSPc0aXdGs2ejlw8xVlfLO25vmvb640fZrndOb8ohM4s0j0dbDnZs9tIdWwxs5gB99ntK1uyVlIDK8UhIUZUt4/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>From Heart</georss:featurename><georss:point>40.4610843 -79.888162099999988</georss:point><georss:box>40.460706800000004 -79.888792599999988 40.4614618 -79.887531599999988</georss:box></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-614364685711831145</id><published>2014-09-08T06:31:00.002-07:00</published><updated>2014-10-04T12:32:35.258-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS Lists"/><category scheme="http://www.blogger.com/atom/ns#" term="Lists"/><title type='text'>Styling Lists Using CSS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Like other items, there are some CSS properties to design and style HTML Lists too.&lt;br /&gt;
CSS List Properties allow you to :&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Set different list item markers for ordered lists&lt;/li&gt;
&lt;li&gt;Set different list item markers for unordered lists&lt;/li&gt;
&lt;li&gt;Set an image as list item marker&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
There are two types of lists in HTML:&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Ordered Lists - The list items are marked with numbers or alphabets&lt;/li&gt;
&lt;li&gt;Unordered Lists - The list items are marked with bullets&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
With CSS list items can be styled further. An image can be used as list item marker.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
The type of list item marker is specified by &lt;b&gt;list-style-type&lt;/b&gt;&amp;nbsp;property:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;-moz-box-sizing: border-box; -webkit-box-sizing: border-box; background: #EBEBE0; border: 1px solid rgba(0, 0, 0, 0.1); box-sizing: border-box; margin-bottom: 24px; max-width: 100%; overflow: auto; padding: 12px; round: #EBEBE0; white-space: pre-wrap; white-space: pre; word-wrap: break-word;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ul.a {
    list-style-type: circle;
}

ul.b {
    list-style-type: square;
}

ol.c {
    list-style-type: upper-roman;
}

ol.d {
    list-style-type: lower-alpha;
}&lt;/span&gt;

&lt;/b&gt;

&lt;/div&gt;
&lt;div&gt;
Example: &lt;a href=&quot;http://css3wdesign.net16.net/list-item-markers.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/list-item-markers.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
An Image as the List Item Marker&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
CSS allows us to use any image as the list item marker. Just use the &lt;b&gt;list-style-image&lt;/b&gt;&amp;nbsp;instead of &lt;b&gt;list-style-type, &lt;/b&gt;and place the URL before&amp;nbsp;:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;-moz-box-sizing: border-box; -webkit-box-sizing: border-box; background: #EBEBE0; border: 1px solid rgba(0, 0, 0, 0.1); box-sizing: border-box; margin-bottom: 24px; max-width: 100%; overflow: auto; padding: 12px; round: #EBEBE0; white-space: pre-wrap; white-space: pre; word-wrap: break-word;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;ul {
   list-style-image: url(&#39;sqblue.gif&#39;);
}
&lt;/b&gt;&lt;/span&gt;


&lt;/div&gt;
&lt;div&gt;
Example: &lt;a href=&quot;http://css3wdesign.net16.net/image-marker.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/image-marker.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In the above mentioned example, the image is slightly bigger than the usual bullet. The image specified as the image marker, will be slightly more bigger in IE and Opera than the image in Safari, Chrome and Firefox.&lt;br /&gt;
To overcome this, you have to specify all of the image attributes independently. Below is a Crossbrowser solution for this:&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;
Crossbrowser solution&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div&gt;
The below code will show the image marker in all browsers equally:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;-moz-box-sizing: border-box; -webkit-box-sizing: border-box; background: #EBEBE0; border: 1px solid rgba(0, 0, 0, 0.1); box-sizing: border-box; margin-bottom: 24px; max-width: 100%; overflow: auto; padding: 12px; round: #EBEBE0; white-space: pre-wrap; white-space: pre; word-wrap: break-word;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;
ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

ul li {
    background-image: url(sqblue.gif);
    background-repeat: no-repeat;
    background-position: 0px 5px; 
    padding-left: 14px; 
}
&lt;/b&gt;&lt;/span&gt;


&lt;/div&gt;
&lt;div&gt;
Try using this URL in all browsers: &lt;a href=&quot;http://css3wdesign.net16.net/image-marker2.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/image-marker2.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Explained example:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;For &lt;b&gt;ul:&amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;to remove the list item marker first, set the &lt;b&gt;list-style-type&lt;/b&gt; to &lt;b&gt;none&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;set the &lt;b&gt;margin &lt;/b&gt;to &lt;b&gt;0 &lt;/b&gt;(for crossbrowser compatibility)&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;For &lt;b&gt;ul li&amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;place &lt;b&gt;URL of image&lt;/b&gt;&amp;nbsp;in the &lt;b&gt;background-image&lt;/b&gt;&amp;nbsp;property and set it to the &lt;b&gt;no-repeat&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;specify the image position using &lt;b&gt;background-position&lt;/b&gt;&amp;nbsp;(&lt;b&gt;left 0px &lt;/b&gt;and &lt;b&gt;down 5px&lt;/b&gt;)&lt;/li&gt;
&lt;li&gt;position the text in the list item: &lt;b&gt;padding-left&lt;/b&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;
list-style: none;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
Sometime, we don&#39;t need to specify any of the list-item style. CSS also allows to do so.&lt;/div&gt;
&lt;div&gt;
Use the &lt;b&gt;&lt;code&gt;list-style: none; &lt;/code&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&amp;nbsp;and the list will be without any style. Below is the output of the &lt;b&gt;list-style: none;&lt;/b&gt;&amp;nbsp;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre&gt;&lt;ul style=&quot;list-style: none;&quot;&gt;
&lt;li&gt;Item one&lt;/li&gt;
&lt;li&gt;Item two&lt;/li&gt;
&lt;li&gt;Item three&lt;/li&gt;
&lt;li&gt;Item four&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Here is the list of all &lt;b&gt;values, &lt;/b&gt;which can be used in&lt;b&gt; list-style-type&lt;/b&gt;. &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;a href=&quot;http://css3wdesign.blogspot.com/2014/09/css-list-style-type-property-all-values.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.blogspot.com/2014/09/css-list-style-type-property-all-values.html&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/614364685711831145/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/09/styling-lists-using-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/614364685711831145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/614364685711831145'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/09/styling-lists-using-css.html' title='Styling Lists Using CSS'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-4398465855225008006</id><published>2014-09-08T06:31:00.001-07:00</published><updated>2014-10-04T12:32:45.418-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS Lists"/><category scheme="http://www.blogger.com/atom/ns#" term="Lists"/><category scheme="http://www.blogger.com/atom/ns#" term="Styling Lists"/><title type='text'>CSS list-style-type Property (All Values - Table)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
A complete description of all of the values of &amp;nbsp;&amp;nbsp;&lt;code&gt;list-style-type :&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;table style=&quot;border: 1px solid #E0E0D1; font-family: arial; width: 100%px;&quot;&gt;
   &lt;tbody&gt;
&lt;tr style=&quot;background: black; color: white;&quot;&gt;
    &lt;th&gt;Value&lt;/th&gt;
    &lt;th&gt;Description&lt;/th&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;disc&lt;/td&gt;
    &lt;td&gt;Default Value. The marker is a filled circle.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;armenian&lt;/td&gt;
    &lt;td&gt;The marker is traditional Armenion numbering.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;circle&lt;/td&gt;
    &lt;td&gt;The marker is a circle.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;cjk-ideographic&lt;/td&gt;
    &lt;td&gt;The marker is a plain ideographic numbers.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;decimal&lt;/td&gt;
    &lt;td&gt;The marker is a number.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;decimal-leading-zero&lt;/td&gt;
    &lt;td&gt;The marker is a number with leading zero (01, 02, 03 etc)&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;georgian&lt;/td&gt;
    &lt;td&gt;The marker is traditional Georgian numbering.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;hebrew&lt;/td&gt;
    &lt;td&gt;The marker is traditional Hebrew numbering.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;hiragana&lt;/td&gt;
    &lt;td&gt;The marker is traditional Hiragana numbering.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;hiragana-iroha&lt;/td&gt;
    &lt;td&gt;The marker is traditional Hiragana iroha numbering.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;katakana&lt;/td&gt;
    &lt;td&gt;The marker is traditional Katakana numbering.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;katakana-iroha&lt;/td&gt;
    &lt;td&gt;The marker is traditional Katakana iroha numbering.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;lower-alpha&lt;/td&gt;
    &lt;td&gt;The marker is lower-alpha (a, b, c, d etc. )&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;lower-greek&lt;/td&gt;
    &lt;td&gt;The marker is lower-greek.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;lower-latin&lt;/td&gt;
    &lt;td&gt;The marker is lower-latin (a, b, c, d etc.)&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;lower-roman&lt;/td&gt;
    &lt;td&gt;The marker is lower-roman (i, ii, iii, iv etc.)&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;none&lt;/td&gt;
    &lt;td&gt;No marker is shown.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;square&lt;/td&gt;
    &lt;td&gt;The marker is a square.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;upper-alpha&lt;/td&gt;
    &lt;td&gt;The marker is upper alpha (A, B, C, D etc)&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;upper-latin&lt;/td&gt;
    &lt;td&gt;The marker is upper latin (A, B, C, D etc)&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt; 
    &lt;td&gt;upper-roman&lt;/td&gt;
    &lt;td&gt;The marker is upper roman (I, II, III, IV etc)&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt; 
    &lt;td&gt;initial&lt;/td&gt;
    &lt;td&gt;Sets this property to its default value.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;tr&gt; 
    &lt;td&gt;inherit&lt;/td&gt;
    &lt;td&gt;Inherits this property from its parent element.&lt;/td&gt;   
   &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
This example explains all above examples: &lt;a href=&quot;http://css3wdesign.net16.net/all-bullets.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/all-bullets.html&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/4398465855225008006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/09/css-list-style-type-property-all-values.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/4398465855225008006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/4398465855225008006'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/09/css-list-style-type-property-all-values.html' title='CSS list-style-type Property (All Values - Table)'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-8377652952490488468</id><published>2014-09-03T09:38:00.001-07:00</published><updated>2014-10-04T12:33:01.520-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Advance Links"/><category scheme="http://www.blogger.com/atom/ns#" term="Links"/><category scheme="http://www.blogger.com/atom/ns#" term="Styling Links"/><title type='text'>Advanced: Creating Link Boxes with CSS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I&#39;ve already posted an article about designing the different states of a link.&lt;br /&gt;
Read Here: &lt;a href=&quot;http://css3wdesign.blogspot.com/2014/08/styling-links-with-css.html&quot; target=&quot;_blank&quot;&gt;Styling Links With CSS&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
While talking about the designing the links, there comes a lot to do.&lt;br /&gt;
We can create links in whatever style we want. Now a days, we see a lot of websites. Every Website contains different links. Every Link is in a different style. Sometimes, we see a some picture, which is also a link. Some times, we see a beautiful box. When we hover it, it changes the color of text and background. This is also a link.&lt;br /&gt;
But the question is how to design that link.&lt;br /&gt;
Here is the code snippet.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKai_SmrMVSU8491IH_AoeRce-GKTZsZvQDcDfoF4L2rt3K6amg96rgYMBmqWLdJKoWapq8cwfvydxOucZdquUPJfrLV-7o72blm7d02MLTHnWhtMSEHqCCIR0_KjFNPsG2xA8eBFGgI4/s1600/2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKai_SmrMVSU8491IH_AoeRce-GKTZsZvQDcDfoF4L2rt3K6amg96rgYMBmqWLdJKoWapq8cwfvydxOucZdquUPJfrLV-7o72blm7d02MLTHnWhtMSEHqCCIR0_KjFNPsG2xA8eBFGgI4/s1600/2.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just look on the following examples:&lt;br /&gt;
&lt;a href=&quot;http://css3wdesign.net16.net/link-boxes.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/link-boxes.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The method mentioned in the above example can be used to make the menu of a website or something like that.&lt;br /&gt;
&lt;div style=&quot;background: #D1D1D1;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/8377652952490488468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/09/advanced-creating-link-boxes-with-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/8377652952490488468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/8377652952490488468'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/09/advanced-creating-link-boxes-with-css.html' title='Advanced: Creating Link Boxes with CSS'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKai_SmrMVSU8491IH_AoeRce-GKTZsZvQDcDfoF4L2rt3K6amg96rgYMBmqWLdJKoWapq8cwfvydxOucZdquUPJfrLV-7o72blm7d02MLTHnWhtMSEHqCCIR0_KjFNPsG2xA8eBFGgI4/s72-c/2.JPG" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>From Heart</georss:featurename><georss:point>14.5635269 121.01462779999997</georss:point><georss:box>14.5632869 121.01431279999997 14.5637669 121.01494279999997</georss:box></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-4202365452018122783</id><published>2014-09-03T07:14:00.001-07:00</published><updated>2014-10-04T12:33:24.008-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Links"/><category scheme="http://www.blogger.com/atom/ns#" term="Styling Links"/><title type='text'>Add Different Styles to Hyperlinks</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I&#39;ve already mentioned how to change the default color on different states of a single link.&amp;nbsp;&lt;div&gt;
Read the post and learn ( &lt;a href=&quot;http://css3wdesign.blogspot.com/2014/08/styling-links-with-css.html&quot; target=&quot;_blank&quot;&gt;Styling Links with CSS&lt;/a&gt; ).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This example demonstrate how to design the different states of different links on a single web page.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
There are many ways to do so.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Create a ID for a single link to design.&lt;/li&gt;
&lt;li&gt;Create a Class for more than one link, to design using CSS.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
I&#39;ll use the Class technique to do so.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Just assume, we have a link with class &lt;b&gt;yellow&lt;/b&gt;. On mouse over we will change the background from default to yellow. The code is given below:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixdrVUfa8_lGk9Y7PIE-01BHrQHv_9l9p4kUyikbWz0Wn2PqvgqXvK0lavhQNT6zvYgzaPaHdPqatAAiE2pIBP8EUY09fMK_5QRVfw3oD6jXGbWiQaHONWe4Lm9Fu0W4515XV0DP91Ma8/s1600/1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixdrVUfa8_lGk9Y7PIE-01BHrQHv_9l9p4kUyikbWz0Wn2PqvgqXvK0lavhQNT6zvYgzaPaHdPqatAAiE2pIBP8EUY09fMK_5QRVfw3oD6jXGbWiQaHONWe4Lm9Fu0W4515XV0DP91Ma8/s1600/1.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
We can also change the &lt;b&gt;font-family, text-color, font-size&lt;/b&gt;&amp;nbsp;and &lt;b&gt;text-decoration&lt;/b&gt;.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The below example demonstrate this well:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://css3wdesign.net16.net/advance-links.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/advance-links.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Have a look on More Advance Example.&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://css3wdesign.blogspot.com/2014/09/advanced-creating-link-boxes-with-css.html&quot; target=&quot;_blank&quot;&gt;Advanced: Creating Link Boxes with CSS&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/4202365452018122783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/09/add-different-styles-to-hyperlinks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/4202365452018122783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/4202365452018122783'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/09/add-different-styles-to-hyperlinks.html' title='Add Different Styles to Hyperlinks'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixdrVUfa8_lGk9Y7PIE-01BHrQHv_9l9p4kUyikbWz0Wn2PqvgqXvK0lavhQNT6zvYgzaPaHdPqatAAiE2pIBP8EUY09fMK_5QRVfw3oD6jXGbWiQaHONWe4Lm9Fu0W4515XV0DP91Ma8/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>From Heart</georss:featurename><georss:point>41.832825199999988 -75.878236099999981</georss:point><georss:box>16.310790699999988 -117.18683009999998 67.354859699999992 -34.569642099999982</georss:box></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-6021514947516473970</id><published>2014-08-22T03:47:00.000-07:00</published><updated>2014-10-04T12:33:46.349-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Links"/><category scheme="http://www.blogger.com/atom/ns#" term="Styling Links"/><title type='text'>Styling Links with CSS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Default color of a link is blue. But it doesn&#39;t look so nice, when we are not using a simple theme.&lt;br /&gt;
&lt;div&gt;
In style of a site, everything must be in a proper color contrast.&lt;/div&gt;
&lt;div&gt;
The links&#39; color can also be changes to whatever we want.&lt;/div&gt;
&lt;div&gt;
To do so, first of all we should know the states of a link on a page.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
I mean, if we put some link on a page, First of all it is, A normal unvisited link.&lt;/div&gt;
&lt;div&gt;
When we click on a link, in becomes active. And after visiting that link, it becomes a visited link.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
By default in HTML the default colors of different color states are:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;table&gt; 
&lt;tbody&gt;
&lt;tr&gt; &lt;td&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkmxm7bB9uKjBMubZrdVESlJGI-BF5ew8s7nAcKWo8ZJKot7D34SiytkXBpUB8tiHPjEvz9ossEwRXToUhARJkMz67A0JKKE6ggDNMGztAEwwI70MFuRw1YXl7bva26j0q4hP6g3HZKms/s1600/unvisited.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkmxm7bB9uKjBMubZrdVESlJGI-BF5ew8s7nAcKWo8ZJKot7D34SiytkXBpUB8tiHPjEvz9ossEwRXToUhARJkMz67A0JKKE6ggDNMGztAEwwI70MFuRw1YXl7bva26j0q4hP6g3HZKms/s1600/unvisited.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td&gt;blue - a normal unvisited link &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwF6nMKXcqsVYUZvXk9OwTB4dkqGCCFR2ahsFF5wSMjJyIixDugiKBAjvX477_CEYH4pQqXzKnvrgU0VrHtnS_Ak3YkR_hbrPD_J69Xa9R0VXXeCJ76_cUSF4JQ-GWiVl9sew3IGS2JW8/s1600/actibe.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwF6nMKXcqsVYUZvXk9OwTB4dkqGCCFR2ahsFF5wSMjJyIixDugiKBAjvX477_CEYH4pQqXzKnvrgU0VrHtnS_Ak3YkR_hbrPD_J69Xa9R0VXXeCJ76_cUSF4JQ-GWiVl9sew3IGS2JW8/s1600/actibe.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td&gt;red - an active link (when we click on a link) &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt; 
&lt;td&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwgPpOPVpPW2cADsStPhTYOTDSxoTttzmeZV-D72gXxEi6Sntq84S2VrQ1mTJjEQl7J-2kafoU1vE_i9TTHvoiRTcuingsXIr5fM2eiBZqxwBvx_Op4pQy-CbAGvfhOx_ZHNA-yZsMaGQ/s1600/visited.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwgPpOPVpPW2cADsStPhTYOTDSxoTttzmeZV-D72gXxEi6Sntq84S2VrQ1mTJjEQl7J-2kafoU1vE_i9TTHvoiRTcuingsXIr5fM2eiBZqxwBvx_Op4pQy-CbAGvfhOx_ZHNA-yZsMaGQ/s1600/visited.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td&gt;purple - a visited link &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
But it&#39;s not all in all. We can change these color and style of the links to whatever we want.&lt;br /&gt;
Just you should know how to select the states of a link in CSS.&lt;br /&gt;
The link states are:&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;font-family: arial; text-align: left;&quot;&gt;
&lt;li&gt;&lt;b&gt;a:link - a normal, unvisited link&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;a:visited - a link that user has visited&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;a:hover - a link when the user mouses over it&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;a:active - a link the moment it is clicked&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Have a look on the following example:&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://css3wdesign.net16.net/styled-links.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/styled-links.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 1px solid; margin-bottom: 30px; margin-left: 30px; margin-right: 30px; margin-top: 30px;&quot;&gt;
While designing the links for several states, there are some order rules: &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt; a:hover must come after a:link and a:visited &lt;/li&gt;
&lt;li&gt; a:active must come after a:hover &lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;&lt;b&gt;Common Link Styles:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Let&#39;s have a look on some of the following examples.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
These are the CSS codes to design the links.&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Text Decoration&lt;/h2&gt;
&lt;div&gt;
Text decoration is used to remove/add the underline effect or style into some link.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
The code below will remove the underline from all of the links.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqMUngUV0BM9dYrVVQ3ynA0wvROpryzQW0cZZE-jWwE_w_sh_iQUhnh7CgSYSsBAPeN6O1MhnaIRYv1_0iaF6sqLmLrhosN-AfRj-yEXhk-M6JWZ6-J-TBTVsaSeED2ZhW19rGIpM9yRg/s1600/1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqMUngUV0BM9dYrVVQ3ynA0wvROpryzQW0cZZE-jWwE_w_sh_iQUhnh7CgSYSsBAPeN6O1MhnaIRYv1_0iaF6sqLmLrhosN-AfRj-yEXhk-M6JWZ6-J-TBTVsaSeED2ZhW19rGIpM9yRg/s1600/1.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&amp;nbsp;&lt;a href=&quot;http://css3wdesign.net16.net/text-decoration.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/text-decoration.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
Background Color&lt;/h2&gt;
&lt;div&gt;
This property is used to change the background color of a text.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaN3qN5cl5cBSJxNvPtDoTelwuagqDRW49Qen-gz3aM00dCINtHkUq0CXBu13QVMHb5Ri1172NZZ9puGAcPI8ufdQVMFh3txv89K8UiUXRb6poFjZ8UWs7GuQvCmKWxDMEB80g9Eiqllo/s1600/2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaN3qN5cl5cBSJxNvPtDoTelwuagqDRW49Qen-gz3aM00dCINtHkUq0CXBu13QVMHb5Ri1172NZZ9puGAcPI8ufdQVMFh3txv89K8UiUXRb6poFjZ8UWs7GuQvCmKWxDMEB80g9Eiqllo/s1600/2.JPG&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaN3qN5cl5cBSJxNvPtDoTelwuagqDRW49Qen-gz3aM00dCINtHkUq0CXBu13QVMHb5Ri1172NZZ9puGAcPI8ufdQVMFh3txv89K8UiUXRb6poFjZ8UWs7GuQvCmKWxDMEB80g9Eiqllo/s1600/2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaN3qN5cl5cBSJxNvPtDoTelwuagqDRW49Qen-gz3aM00dCINtHkUq0CXBu13QVMHb5Ri1172NZZ9puGAcPI8ufdQVMFh3txv89K8UiUXRb6poFjZ8UWs7GuQvCmKWxDMEB80g9Eiqllo/s1600/2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Example:&amp;nbsp;&lt;a href=&quot;http://css3wdesign.net16.net/link-color.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/link-color.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
More Advance Examples&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://css3wdesign.blogspot.com/2014/09/add-different-styles-to-hyperlinks.html&quot; target=&quot;_blank&quot;&gt;Add Different Styles to Hyperlinks&lt;/a&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
This example demonstrates how to add different styles to the hyperlinks.&amp;nbsp;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://css3wdesign.blogspot.com/2014/09/advanced-creating-link-boxes-with-css.html&quot; target=&quot;_blank&quot;&gt;Advanced: Creating Link Boxes with CSS&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
This example is one of the advanced. In this example we will demonstrate how to change the links to look like boxes using different CS properties.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/6021514947516473970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/08/styling-links-with-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/6021514947516473970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/6021514947516473970'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/08/styling-links-with-css.html' title='Styling Links with CSS'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkmxm7bB9uKjBMubZrdVESlJGI-BF5ew8s7nAcKWo8ZJKot7D34SiytkXBpUB8tiHPjEvz9ossEwRXToUhARJkMz67A0JKKE6ggDNMGztAEwwI70MFuRw1YXl7bva26j0q4hP6g3HZKms/s72-c/unvisited.JPG" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>From Heart</georss:featurename><georss:point>41.832825199999988 -75.878236099999981</georss:point><georss:box>41.832825199999988 -75.878236099999981 41.832825199999988 -75.878236099999981</georss:box></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-1169634396838065700</id><published>2014-08-19T07:16:00.001-07:00</published><updated>2014-10-04T12:34:04.866-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="All Text Properties"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Text Properties"/><category scheme="http://www.blogger.com/atom/ns#" term="Text Shadow"/><title type='text'>Text Shadows using CSS3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Text shadow always give a cool looking effect to some text.&lt;br /&gt;
A text with some kind of shadow is more attractive than a text without any shadow.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;h1&gt;
Heading&lt;/h1&gt;
&lt;h1 style=&quot;color: green; font-family: arial; text-shadow: 3px 1px 13px rgba(136, 39, 255, 1);&quot;&gt;
 Heading &lt;/h1&gt;
&lt;/div&gt;
&lt;div&gt;
Now the question is How to add shadows to some text?&lt;br /&gt;
This is, for what you are here :P.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5L9881Me4hyphenhyphenEGtH22s-FFkvBnVBWfOvrdW3IE4wQdiFkcSuknNcpEdzwXMKVOpez91eFa3eOb491edjbxcskoUYfrb9C3QmxL3VK-6xxMxbjeRbu3OadwyWv2uxquRqUxGJqkBiGLPSA/s1600/1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5L9881Me4hyphenhyphenEGtH22s-FFkvBnVBWfOvrdW3IE4wQdiFkcSuknNcpEdzwXMKVOpez91eFa3eOb491edjbxcskoUYfrb9C3QmxL3VK-6xxMxbjeRbu3OadwyWv2uxquRqUxGJqkBiGLPSA/s1600/1.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
The above code snippet will look like this: &lt;a href=&quot;http://css3wdesign.net16.net/shadow.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/shadow.html&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
We can add following values to the&amp;nbsp;&lt;b&gt;textssible color values &lt;br /&gt;

	
&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table style=&quot;font-family: arial; margin: 5px;&quot;&gt;
	&lt;tbody&gt;
&lt;tr style=&quot;background-color: black; color: white;&quot;&gt;
		&lt;th&gt;Value&lt;/th&gt;
		&lt;th&gt;Description&lt;/th&gt;
	&lt;/tr&gt;
&lt;tr&gt;
		&lt;td&gt;h-shadow &lt;/td&gt;
		&lt;td&gt;Required. The position of the horizontal shadow. Negative values are allowed &lt;/td&gt;
	&lt;/tr&gt;
&lt;tr&gt;
		&lt;td&gt;v-shadow &lt;/td&gt;
		&lt;td&gt;Required. The position of the vertical shadow. Negative values are allowed &lt;/td&gt;
	&lt;/tr&gt;
&lt;tr&gt;
		&lt;td&gt;blur &lt;/td&gt;
		&lt;td&gt;Optional. The blur distance &lt;/td&gt;
	&lt;/tr&gt;
&lt;tr&gt;
		&lt;td&gt;color &lt;/td&gt;
		&lt;td&gt;Optional. The color of the shadow. Look at CSS Color Values for a complete list of possible color values &lt;/td&gt;
	&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
The default position to set all values, place all these values is, as it is given in the above table.&lt;br /&gt;
like:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3sZ1cpKsIEG8p-DcCh5WIlkkTmDVSUiFDgcfEsNXxDSUPDJR1fuS9YVVviermyJP9dPsfeP2fXCTi9HHvilRgpcvd9E8AQQ9ElR8t2VB5kfnu_GDDb8wFTWXPE551lpejBRwAWF75i0I/s1600/3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3sZ1cpKsIEG8p-DcCh5WIlkkTmDVSUiFDgcfEsNXxDSUPDJR1fuS9YVVviermyJP9dPsfeP2fXCTi9HHvilRgpcvd9E8AQQ9ElR8t2VB5kfnu_GDDb8wFTWXPE551lpejBRwAWF75i0I/s1600/3.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;hr /&gt;
There are some of CSS3 generators can also do these things for you:&lt;br /&gt;
&lt;a href=&quot;http://css3gen.com/text-shadow/&quot; target=&quot;_blank&quot;&gt;http://css3gen.com/text-shadow/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://css3generator.com/&quot; target=&quot;_blank&quot;&gt;http://css3generator.com&lt;/a&gt;&amp;nbsp;(I&#39;ve posted a small tutorial to run this generator in my first post. To check, &lt;a href=&quot;http://css3wdesign.blogspot.com/2014/08/css3-generator.html&quot; target=&quot;_blank&quot;&gt;Click Here&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/1169634396838065700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/08/text-shadows-using-css3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/1169634396838065700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/1169634396838065700'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/08/text-shadows-using-css3.html' title='Text Shadows using CSS3'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5L9881Me4hyphenhyphenEGtH22s-FFkvBnVBWfOvrdW3IE4wQdiFkcSuknNcpEdzwXMKVOpez91eFa3eOb491edjbxcskoUYfrb9C3QmxL3VK-6xxMxbjeRbu3OadwyWv2uxquRqUxGJqkBiGLPSA/s72-c/1.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2001756452660823706.post-661653747750270448</id><published>2014-08-19T06:22:00.001-07:00</published><updated>2014-10-04T12:34:39.290-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="All Text Properties"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS3 Text Properties"/><title type='text'>All CSS Text Styling Properties</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; style=&quot;font-family: arial;&quot;&gt;
   &lt;tbody&gt;
&lt;tr style=&quot;background-color: black;&quot;&gt;
    &lt;th style=&quot;color: white;&quot;&gt;Property&lt;/th&gt;
    &lt;th style=&quot;color: white;&quot;&gt;Detail&lt;/th&gt;
    &lt;th style=&quot;color: white;&quot;&gt;Example&lt;/th&gt;
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;color &lt;/td&gt;
    &lt;td&gt;Specifies the color of a text. &lt;/td&gt;
    &lt;td&gt;&lt;a href=&quot;http://css3wdesign.net16.net/color.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/color.html&lt;/a&gt; &lt;/td&gt;
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;direction &lt;/td&gt;
    &lt;td&gt;Specifies the text direction/writing direction &lt;/td&gt;
    &lt;td&gt;&lt;a href=&quot;http://css3wdesign.net16.net/direction.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/direction.html&lt;/a&gt; &lt;/td&gt;
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;letter-spacing &lt;/td&gt;
    &lt;td&gt;Increases or decreases the space between characters in a text &lt;/td&gt;
    &lt;td&gt;&lt;a href=&quot;http://css3wdesign.net16.net/spacing.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/spacing.html&lt;/a&gt; &lt;/td&gt;
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;line-height &lt;/td&gt;
    &lt;td&gt;Sets the line height &lt;/td&gt;
    &lt;td&gt;&lt;a href=&quot;http://css3wdesign.net16.net/height.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/height.html&lt;/a&gt; &lt;/td&gt;
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;text-align &lt;/td&gt;
    &lt;td&gt;Specifies the horizontal alignment of text &lt;/td&gt;
    &lt;td&gt;&lt;a href=&quot;http://css3wdesign.net16.net/aligned.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/aligned.html&lt;/a&gt; &lt;/td&gt;
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;text-decoration &lt;/td&gt;
    &lt;td&gt;Specifies the decoration added to text &lt;/td&gt;
    &lt;td&gt;&lt;a href=&quot;http://css3wdesign.net16.net/decorate.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/decorate.html&lt;/a&gt; &lt;/td&gt;
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;text-indent &lt;/td&gt;
    &lt;td&gt;Specifies the indentation of the first line in a text-block &lt;/td&gt;
    &lt;td&gt;&lt;a href=&quot;http://css3wdesign.net16.net/indent.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/indent.html&lt;/a&gt; &lt;/td&gt;
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;text-shadow &lt;/td&gt;
    &lt;td&gt;Specifies the shadow effect added to text &lt;/td&gt;
    &lt;td&gt;&lt;a href=&quot;http://css3wdesign.blogspot.com/2014/08/text-shadows-using-css3.html&quot; target=&quot;_blank&quot;&gt;Text Shadows using CSS3 &lt;/a&gt;&lt;/td&gt;
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;text-transform &lt;/td&gt;
    &lt;td&gt;Controls the capitalization of text &lt;/td&gt;
    &lt;td&gt;&lt;a href=&quot;http://css3wdesign.net16.net/transform.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/transform.html&lt;/a&gt; &lt;/td&gt;
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;unicode-bidi &lt;/td&gt;
    &lt;td&gt;Used together with the direction property to set or return whether the text should be overridden to support multiple languages in the same document &lt;/td&gt;
    &lt;td&gt;&lt;a href=&quot;http://css3wdesign.net16.net/unicode-bidi.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/unicode-bidi.html&lt;/a&gt; &lt;/td&gt;
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;white-space &lt;/td&gt;
    &lt;td&gt;Specifies how white-space inside an element is handled &lt;/td&gt;
    &lt;td&gt;&lt;a href=&quot;http://css3wdesign.net16.net/white-space.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/white-space.html&lt;/a&gt; &lt;/td&gt;
   &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;word-spacing &lt;/td&gt;
    &lt;td&gt;Increases or decreases the space between words in a text &lt;/td&gt;
    &lt;td&gt;&lt;a href=&quot;http://css3wdesign.net16.net/word-spacing.html&quot; target=&quot;_blank&quot;&gt;http://css3wdesign.net16.net/word-spacing.html&lt;/a&gt; &lt;/td&gt;
   &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
Downlaod all Examples.&lt;a href=&quot;https://drive.google.com/file/d/0B19GVHQs7aqiRVc3eG5wX0lMeVE/edit?usp=sharing&quot; target=&quot;_blank&quot;&gt;Click Here&lt;/a&gt;.
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://css3wdesign.blogspot.com/feeds/661653747750270448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://css3wdesign.blogspot.com/2014/08/all-css-text-styling-properties.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/661653747750270448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2001756452660823706/posts/default/661653747750270448'/><link rel='alternate' type='text/html' href='http://css3wdesign.blogspot.com/2014/08/all-css-text-styling-properties.html' title='All CSS Text Styling Properties'/><author><name>Muhammad Arslan Aslam</name><uri>http://www.blogger.com/profile/11876076969295849725</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>