<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>css-tutorials &#8211; Extreme Web Designs</title>
	<atom:link href="https://theextremewebdesigns.com/blog/tag/css-tutorials-2/feed/" rel="self" type="application/rss+xml" />
	<link>https://theextremewebdesigns.com/blog</link>
	<description>Web Design and Web Development</description>
	<lastBuildDate>Sat, 26 May 2012 08:57:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.5</generator>
<site xmlns="com-wordpress:feed-additions:1">156673191</site>	<item>
		<title>What is CSS3? Why CSS3 is used? How to use CSS3?</title>
		<link>https://theextremewebdesigns.com/blog/css3-what-is-css3-why-css3-is-used-how-to-use-css3/</link>
					<comments>https://theextremewebdesigns.com/blog/css3-what-is-css3-why-css3-is-used-how-to-use-css3/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 26 May 2012 08:57:00 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css-tutorials]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=591</guid>

					<description><![CDATA[If you already know what CSS is, then you must have heard about CSS3. Are you wondering what is CSS3 and why CSS3 is used and how to use CSS3? In this article, I am going to introduce you to basic concepts of CSS3. If you do not know what CSS is, then I suggest [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>If you already know what CSS is, then you must have heard about CSS3. Are you wondering <strong>what is CSS3 and why CSS3 is used and how to use CSS3</strong>? In this article, I am going to introduce you to basic concepts of CSS3.<span id="more-591"></span></p>
<p>If you do not know what CSS is, then I suggest you read my <a title="What is CSS? Why CSS is used? How to use CSS?" href="https://theextremewebdesigns.com/blog/what-is-css-why-css-is-used-how-to-use-css/" target="_blank">article on CSS</a>.</p>
<h2>What is CSS3?</h2>
<p><strong>CSS3 is an extended or enhanced version of CSS2 (the current version) and it is the latest standard used in defining the styles for the different elements of a web page and even more</strong>. This includes animating the elements of a web page, applying different effects such as gradients, shadows and many more. CSS3 is backward compatible. This means that your existing CSS2 styles will remain the same and can be used as is, without any changes.</p>
<p>Basically, CSS3 is split up into &#8220;modules&#8221; to enhance the web page. Some of the most important CSS3 modules are:</p>
<ul>
<li>Animations</li>
<li>Backgrounds and Borders</li>
<li>Selectors</li>
<li>Box Model</li>
<li>2D/3D Transformations</li>
<li>Text Effects</li>
<li>User Interface</li>
<li>Multiple Column Layout</li>
</ul>
<h2>Why CSS3 is used?</h2>
<p><strong>The features, convenience &amp; ease of usage provided by CSS3 are the main advantages</strong>. It lets you make the elements of a web page more dynamic, add life with a decorative touch. For example, before CSS3 to create rounded corners it was mandatory to make use of images and then write more code, both in CSS and HTML to align them as needed. But with introduction of CSS3, it is just a matter of 1-3 lines of code to provide rounded corners without ever using images! Hope this gives you an idea of the raw power of CSS3.</p>
<p>The scope of CSS3 is not limited to just rounded corners. Many other features such as animations, drop shadows, bevel effects, multiple background, gradients, opacity, embedding custom web fonts, etc. are introduced that remove the need to use another piece of software to achieve the same effect. These features can now be achieved by writing very simple and small code in CSS3!</p>
<p><strong>All these features combined,  make the web page and its content load faster and accurate</strong>. Because CSS loads simultaneously with page loading as it is embedded in the web page, there wont be any additional time consumption. For example, without CSS3, to give a rounded corners to a div, images are used. Individual images or sprites could be used for the rounded corners. This means that at the minimum, at least 1 images must be used and can go up to 4 images, depending upon the method chosen to implement these rounded corners. But with CSS3, just 1 line of CSS3 code is enough. To extend this behavior to support other browsers couple of additional lines will be needed. So all in all, CSS3 is a huge time saver and helps load web page faster.</p>
<h2>How to use CSS3?</h2>
<p>There is no change in how you write CSS. The syntax and rule are same. Only declarations will vary.</p>
<p>Here are new CSS3 tricks and their effects:</p>
<p><strong>Rounded Corners to a div:</strong></p>
<pre class="lang:css decode:true">div
{
border: 2px solid red;
border-radius: 10px;
-moz-border-radius: 10px;
}</pre>
<p><strong>Box Shadow:</strong></p>
<pre class="lang:css decode:true">div
{
box-shadow: 5px 5px 2px #333;
}</pre>
<p><strong>Stretch background image to fill content area:</strong></p>
<pre class="lang:css decode:true">div
{
background:url(img_flwr.gif);
-moz-background-size:100% 100%; /* Firefox 3.6 */
background-size:100% 100%;
background-repeat:no-repeat;
}</pre>
<p><strong>Multiple background images for a div:</strong></p>
<pre class="lang:css decode:true">body
{
background-image:url(img_1.jpg), url(img_2.png);
}</pre>
<p><strong>Shadow Effect to text:</strong></p>
<pre class="lang:css decode:true">h1
{
text-shadow: 5px 5px 5px #FF0000;
}</pre>
<p><strong>Word Wrap:</strong></p>
<pre class="lang:css decode:true">p
{
word-wrap: break-word;
}</pre>
<p><strong>Embedding Custom Font:</strong></p>
<pre class="lang:css decode:true">@font-face
{
font-family: MyCustomFont;
src: url('Some_Custom_font.ttf'),
url('Some_Custom_font.eot');
}

h1
{
font-family: MyCustomFont;
}</pre>
<p>The above are some of the common and most used effects. There are many other new features and tricks that can be done using CSS3. This will be the scope of another article, on another day.</p>
<h5>That&#8217;s it!</h5>
<p>Hope this article was able to explain to you <strong>what is CSS3</strong> and <strong>why CSS3 is used</strong> and <strong>how to use CSS3</strong>. Do you know of any other CSS3 effects that you would like to share? Please feel free to do so by commenting below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/css3-what-is-css3-why-css3-is-used-how-to-use-css3/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">591</post-id>	</item>
		<item>
		<title>What is CSS? Why CSS is used? How to use CSS?</title>
		<link>https://theextremewebdesigns.com/blog/what-is-css-why-css-is-used-how-to-use-css/</link>
					<comments>https://theextremewebdesigns.com/blog/what-is-css-why-css-is-used-how-to-use-css/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 25 May 2012 19:28:46 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css-tutorials]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=584</guid>

					<description><![CDATA[Ever heard about CSS andd wondered what is CSS, why CSS is used and how to use CSS. In this article, I will introduce you to the basics of CSS along with its usage.  What is CSS? CSS is the abbreviation for Cascading Style Sheets. It is a file that is included along with a [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Ever heard about CSS andd wondered <strong>what is CSS, why CSS is used and how to use CSS</strong>. In this article, I will introduce you to the basics of CSS along with its usage. <span id="more-584"></span></p>
<h2>What is CSS?</h2>
<p><strong>CSS is the abbreviation for Cascading Style Sheets.</strong></p>
<p><strong>It is a file that is included along with a web page to control it&#8217;s appearance.</strong> In olden days, the styles of an element were defined inline, i.e. whether a heading should appear as bold or if a certain piece of text should appear in red color, etc. The styles let you define how to display HTML elements.</p>
<h2>Why CSS is used?</h2>
<p><strong>The biggest advantage is that using Style Sheets can save a lot of time needed to maintain the styles of each and every element.</strong>  The styles give an excellent control over the appearance of different elements that make up the web page. So whether you want to change the text color or how a form button looks or as a matter of fact, the look of any element of a web page, they can be changed very easily from a centralized location and that is nothing but CSS.</p>
<h2>How to use CSS?</h2>
<p>Although the styles of an element can be specified within the web page directly inline or within the head section of a web page, it is best to include the styles in an external file and this file is the CSS. A CSS rule basically consists of two main parts. One is Selector and the other is a Declaration. There could be a single or multiple Declarations for each rule.</p>
<p><strong>Selector:</strong> Selector refers to the HTML element that needs to be styled. For example: h1, p, div, etc. There are two types of selectors. ID and Class.</p>
<p><strong>Declaration:</strong> A declaration consists of a Property and its corresponding value. They are enclosed in curly braces. Multiple declarations are separated with semi-colons.</p>
<p><strong>Property:</strong> The property is the style attribute you want to change.</p>
<p><strong>Value:</strong> The value can be a numeric value (example: 12 px) or a textual value (example: underline)</p>
<p>Example:</p>
<pre class="lang:css decode:true">div
{
align: center;
color: black;
}</pre>
<p>In the above example, &#8220;div&#8221; is selector. &#8220;align&#8221; and &#8220;color&#8221; are the properties of &#8220;div&#8221;. &#8220;center&#8221; and &#8220;black&#8221; are the corresponding values of the properties. The above method is the most general way of writing CSS for readability purposes. All the code can also be written on a single line (but generally avoided for readability purposes), like this:</p>
<pre class="lang:xhtml decode:true">div { align: center; color: black; }</pre>
<p><strong>ID Selector:</strong></p>
<p>For example:</p>
<pre class="lang:css decode:true">#my_div { align: center; }</pre>
<p><strong>Class Selector:</strong></p>
<p>For example:</p>
<pre class="lang:css decode:true">.my_div { align: center; }</pre>
<p><strong>There are basically 3 ways to insert CSS in a webpage.</strong></p>
<ol>
<li>Inline</li>
<li>Internal Style Sheet</li>
<li>External Style Sheet</li>
</ol>
<h2>Inline:</h2>
<p><strong>Example:  </strong></p>
<pre class="lang:css decode:true">.my_div { align: center; }
&lt;div style="color: #000;  padding-right: 10px"&gt;Some content.&lt;/p&gt;</pre>
<h2>Internal:</h2>
<p><strong>Example:  </strong></p>
<pre class="lang:xhtml decode:true">&lt;head&gt;
&lt;style type="text/css"&gt;
div  { color: black; }
h1 { margin-bottom: 10px; }
&lt;/style&gt;
&lt;/head&gt;</pre>
<h2>External Style Sheet:</h2>
<p><strong>Example:  </strong></p>
<pre class="lang:xhtml decode:true">&lt;head&gt;
&lt;link rel="stylesheet" type="text/css" href="my_styles.css" /&gt;
&lt;/head&gt;</pre>
<p>Hope this article helped you get in touch with <strong>what css is and why css is used</strong>. Different ways of <strong>how to use CSS</strong> are also discussed. So make sure you follow the recommended approach.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/what-is-css-why-css-is-used-how-to-use-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">584</post-id>	</item>
		<item>
		<title>What is CSS Reset? Why to use CSS Reset? How to use CSS Reset?</title>
		<link>https://theextremewebdesigns.com/blog/css-reset-what-is-css-reset-why-to-use-css-reset-how-to-use-css-reset/</link>
					<comments>https://theextremewebdesigns.com/blog/css-reset-what-is-css-reset-why-to-use-css-reset-how-to-use-css-reset/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 24 May 2012 16:08:21 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css-tutorials]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=558</guid>

					<description><![CDATA[CSS Reset is a common word used when implementing a page from a demo mockup. In this article, I will talk about CSS Reset in great detail. What is CSS Reset? Usually, different browsers tend to display the default properties of an html element in a way that makes sense to them. This can lead [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>CSS Reset</strong> is a common word used when implementing a page from a demo mockup. In this article, I will talk about CSS Reset in great detail.<span id="more-558"></span></p>
<h2>What is CSS Reset?</h2>
<p>Usually, different browsers tend to display the default properties of an html element in a way that makes sense to them. This can lead to inconsistency of the web page display in different browsers. <strong>CSS Reset is a way to reset the default html properties such as &#8221; p, h1, h2,&#8221; etc. so that they display the same on different browsers</strong>.</p>
<h2>Why to use CSS Reset?</h2>
<p><strong>It&#8217;s main aim is to display the page evenly across different browser and to reduce the inconsistencies in the html elements</strong>. If this is not applied, the default margins, heading sizes, line heights, etc. that a browser displays may vary in the way that the other browser displays it. Using CSS Reset is usually the first step when developing a web page from a mockup (after the web page slicing is done) and the html markup is coded.</p>
<h2>How to use CSS Reset?</h2>
<p>There is already a CSS Reset developed by our friend, Meyer. You may simply copy the CSS below and paste it your CSS file, before you write any additional code. Make sure that this code &#8220;always&#8221; appears at the top in your CSS file or your existing styles would be overwritten and you would be left wondering with what went wrong.</p>
<h2>Here is the CSS Reset:</h2>
<pre class="lang:css decode:true">/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}</pre>
<h5>That&#8217;s it!</h5>
<p>Hope this article has helped you understand what css reset is and how it can help you in your web design projects. If you use any other files to reset the CSS styles on your website, please feel free to share resources by commenting below.</p>
<p>Reference: <a href="http://meyerweb.com/eric/tools/css/reset/">http://meyerweb.com/eric/tools/css/reset/</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/css-reset-what-is-css-reset-why-to-use-css-reset-how-to-use-css-reset/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">558</post-id>	</item>
	</channel>
</rss>
