<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.tocateules.com/index.php?action=history&amp;feed=atom&amp;title=CSS</id>
	<title>CSS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.tocateules.com/index.php?action=history&amp;feed=atom&amp;title=CSS"/>
	<link rel="alternate" type="text/html" href="http://wiki.tocateules.com/index.php?title=CSS&amp;action=history"/>
	<updated>2026-06-12T08:08:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>http://wiki.tocateules.com/index.php?title=CSS&amp;diff=184&amp;oldid=prev</id>
		<title>Jaume: /* Exemple de CSS aplicat a llistes */</title>
		<link rel="alternate" type="text/html" href="http://wiki.tocateules.com/index.php?title=CSS&amp;diff=184&amp;oldid=prev"/>
		<updated>2024-02-27T19:44:09Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Exemple de CSS aplicat a llistes&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:44, 27 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l220&quot; &gt;Line 220:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 220:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Exemple de CSS aplicat a llistes===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Exemple de CSS aplicat a llistes===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;gallery mode=traditional widths=400px heights=300px&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;gallery mode=traditional widths=400px heights=300px&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Fitxer&lt;/del&gt;:ImatgeCSS6.png|Pàgina HTML sense CSS&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;File&lt;/ins&gt;:ImatgeCSS6.png|Pàgina HTML sense CSS&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Fitxer&lt;/del&gt;:ImatgeCSS5.png|Pàgina HMTL aplicant el CSS inferior&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;File&lt;/ins&gt;:ImatgeCSS5.png|Pàgina HMTL aplicant el CSS inferior&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/gallery&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/gallery&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l266&quot; &gt;Line 266:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 266:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Precedència de regles==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Precedència de regles==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Quan dues declaracions es contradiuen sobre un mateix element, s'apliquen dues normes:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Quan dues declaracions es contradiuen sobre un mateix element, s'apliquen dues normes:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jaume</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.tocateules.com/index.php?title=CSS&amp;diff=180&amp;oldid=prev</id>
		<title>Jaume: /* Exemple estils de text */</title>
		<link rel="alternate" type="text/html" href="http://wiki.tocateules.com/index.php?title=CSS&amp;diff=180&amp;oldid=prev"/>
		<updated>2024-02-27T19:17:36Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Exemple estils de text&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:17, 27 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l124&quot; &gt;Line 124:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 124:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;gallery mode=traditional widths=400px heights=300px&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;gallery mode=traditional widths=400px heights=300px&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Fitxer&lt;/del&gt;:ImatgeCSS3.png|Pàgina HTML sense CSS&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;File&lt;/ins&gt;:ImatgeCSS3.png|Pàgina HTML sense CSS&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Fitxer&lt;/del&gt;:ImatgeCSS2.png|Pàgina HMTL aplicant el CSS inferior&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;File&lt;/ins&gt;:ImatgeCSS2.png|Pàgina HMTL aplicant el CSS inferior&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/gallery&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/gallery&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l160&quot; &gt;Line 160:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 160:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Colors en CSS==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Colors en CSS==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Les tres maneres més típiques d'indicar colors en CSS són:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Les tres maneres més típiques d'indicar colors en CSS són:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jaume</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.tocateules.com/index.php?title=CSS&amp;diff=178&amp;oldid=prev</id>
		<title>Jaume at 15:37, 22 February 2024</title>
		<link rel="alternate" type="text/html" href="http://wiki.tocateules.com/index.php?title=CSS&amp;diff=178&amp;oldid=prev"/>
		<updated>2024-02-22T15:37:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:37, 22 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot; &gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*La '''declaració''': estableix quins formats s'apliquen sobre la selecció feta&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*La '''declaració''': estableix quins formats s'apliquen sobre la selecció feta&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**Cada declaració indica un '''valor''' per a cadascuna de les '''propietats''' de l'element&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**Cada declaració indica un '''valor''' per a cadascuna de les '''propietats''' de l'element&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:ImatgeCSS1.png]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:ImatgeCSS1.png&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|center&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Com es pot veure, una declaració es pot aprofitar per a diversos selectors separant-los per comes.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Com es pot veure, una declaració es pot aprofitar per a diversos selectors separant-los per comes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jaume</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.tocateules.com/index.php?title=CSS&amp;diff=177&amp;oldid=prev</id>
		<title>Jaume at 15:37, 22 February 2024</title>
		<link rel="alternate" type="text/html" href="http://wiki.tocateules.com/index.php?title=CSS&amp;diff=177&amp;oldid=prev"/>
		<updated>2024-02-22T15:37:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:37, 22 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot; &gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*La '''declaració''': estableix quins formats s'apliquen sobre la selecció feta&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*La '''declaració''': estableix quins formats s'apliquen sobre la selecció feta&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**Cada declaració indica un '''valor''' per a cadascuna de les '''propietats''' de l'element&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**Cada declaració indica un '''valor''' per a cadascuna de les '''propietats''' de l'element&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Fitxer&lt;/del&gt;:ImatgeCSS1.png]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;File&lt;/ins&gt;:ImatgeCSS1.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Com es pot veure, una declaració es pot aprofitar per a diversos selectors separant-los per comes.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Com es pot veure, una declaració es pot aprofitar per a diversos selectors separant-los per comes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jaume</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.tocateules.com/index.php?title=CSS&amp;diff=176&amp;oldid=prev</id>
		<title>Jaume at 15:36, 22 February 2024</title>
		<link rel="alternate" type="text/html" href="http://wiki.tocateules.com/index.php?title=CSS&amp;diff=176&amp;oldid=prev"/>
		<updated>2024-02-22T15:36:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:36, 22 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot; &gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*La '''declaració''': estableix quins formats s'apliquen sobre la selecció feta&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*La '''declaració''': estableix quins formats s'apliquen sobre la selecció feta&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**Cada declaració indica un '''valor''' per a cadascuna de les '''propietats''' de l'element&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**Cada declaració indica un '''valor''' per a cadascuna de les '''propietats''' de l'element&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Fitxer:ImatgeCSS1.png&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|center&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Fitxer:ImatgeCSS1.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Com es pot veure, una declaració es pot aprofitar per a diversos selectors separant-los per comes.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Com es pot veure, una declaració es pot aprofitar per a diversos selectors separant-los per comes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jaume</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.tocateules.com/index.php?title=CSS&amp;diff=173&amp;oldid=prev</id>
		<title>Jaume at 08:09, 22 February 2024</title>
		<link rel="alternate" type="text/html" href="http://wiki.tocateules.com/index.php?title=CSS&amp;diff=173&amp;oldid=prev"/>
		<updated>2024-02-22T08:09:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 08:09, 22 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l321&quot; &gt;Line 321:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 321:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;La puntuació d'aquesta regla és de 1 per la referència a ''h1''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;La puntuació d'aquesta regla és de 1 per la referència a ''h1''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Per tant, la regla que s'aplicarà en aquest cas és '''#caja .cabecera h1 { color: red; }'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Per tant, la regla que s'aplicarà en aquest cas és '''#caja .cabecera h1 { color: red; }'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Bibliografia==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;José Luís Antúnez, Apunts SMX2-M8&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jaume</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.tocateules.com/index.php?title=CSS&amp;diff=169&amp;oldid=prev</id>
		<title>Jaume: Protected &quot;CSS&quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))</title>
		<link rel="alternate" type="text/html" href="http://wiki.tocateules.com/index.php?title=CSS&amp;diff=169&amp;oldid=prev"/>
		<updated>2024-02-22T07:58:57Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php/CSS&quot; title=&quot;CSS&quot;&gt;CSS&lt;/a&gt;&amp;quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 07:58, 22 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Jaume</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.tocateules.com/index.php?title=CSS&amp;diff=168&amp;oldid=prev</id>
		<title>83.43.21.66: Created page with &quot;=El llenguatge CSS= CSS és un llenguatge que permet descriure la '''presentació gràfica''' de les pàgines web  CSS aporta una sèrie de beneficis als llocs web: *'''Menys...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.tocateules.com/index.php?title=CSS&amp;diff=168&amp;oldid=prev"/>
		<updated>2024-02-22T07:48:11Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=El llenguatge CSS= CSS és un llenguatge que permet descriure la &amp;#039;&amp;#039;&amp;#039;presentació gràfica&amp;#039;&amp;#039;&amp;#039; de les pàgines web  CSS aporta una sèrie de beneficis als llocs web: *&amp;#039;&amp;#039;&amp;#039;Menys...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=El llenguatge CSS=&lt;br /&gt;
CSS és un llenguatge que permet descriure la '''presentació gràfica''' de les pàgines web&lt;br /&gt;
&lt;br /&gt;
CSS aporta una sèrie de beneficis als llocs web:&lt;br /&gt;
*'''Menys càrrega:''' s'acostuma a disposar d'un (o varis) fulls associats a totes les pàgines d'un lloc web. Un cop s'han descarregar no es tornes a descarregar.&lt;br /&gt;
*'''Menys esforç de modificació''', ja que els estils centralitzars permeten no haver d'anar pàgina a pàgina a realitzar canvis.&lt;br /&gt;
*'''Menys esforç per als cercadors''', que poden indexar el contingut ràpidament, sense haver de perdre el temps en estils&lt;br /&gt;
*'''Més rapidesa de desenvolupament''', ja que no s'han de repetir els mateixos fragments de codi diverses vegades.&lt;br /&gt;
*'''Més accessibilitat''' per als lectors de pantalla, que poden formatar de manera personalitzada les pàgines HTML&lt;br /&gt;
&lt;br /&gt;
==HTML + CSS==&lt;br /&gt;
Per a associar un full d'estils a una pàgina web cal incloure el següent fragment de codi:&lt;br /&gt;
&amp;lt;source language=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;estil.css&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
dins de la secció '''&amp;lt;head&amp;gt;''' d'una pàgina.&lt;br /&gt;
&lt;br /&gt;
Es poden associar tants fulls d'estil com es vulgui.&lt;br /&gt;
&lt;br /&gt;
Existeixen dues maneres més d'assignar estils a les pàgines HTML.&lt;br /&gt;
* Elements '''&amp;lt;style&amp;gt;'''&lt;br /&gt;
* Atribut '''style=&amp;quot;&amp;quot;'''&lt;br /&gt;
&lt;br /&gt;
==Arquitectura d'un full d'estils ==&lt;br /&gt;
Els fulls d'estils CSS estan constituïts per diverses regles que defineixen com es mostren els elements que especifiquen.&lt;br /&gt;
&lt;br /&gt;
Cada regla té dues parts:&lt;br /&gt;
*El '''selector''': determina sobre '''quins''' elements de la pàgina s'aplica l'estil&lt;br /&gt;
*La '''declaració''': estableix quins formats s'apliquen sobre la selecció feta&lt;br /&gt;
**Cada declaració indica un '''valor''' per a cadascuna de les '''propietats''' de l'element&lt;br /&gt;
[[Fitxer:ImatgeCSS1.png|center]]&lt;br /&gt;
Com es pot veure, una declaració es pot aprofitar per a diversos selectors separant-los per comes.&lt;br /&gt;
&lt;br /&gt;
==Selectors bàsics de CSS ==&lt;br /&gt;
Els selectors CSS més utilitzats són:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!|Notació&lt;br /&gt;
!|Ús&lt;br /&gt;
!|Exemple&lt;br /&gt;
|-&lt;br /&gt;
|*&lt;br /&gt;
|Selecciona tots els elements de l'àmbit&lt;br /&gt;
|*{...}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Selecciona per tipus d'element&lt;br /&gt;
|p, h3{...}&lt;br /&gt;
|-&lt;br /&gt;
|.&lt;br /&gt;
|Selecciona els elements d'una classe concreta&lt;br /&gt;
|.titular{...}&lt;br /&gt;
|-&lt;br /&gt;
|#&lt;br /&gt;
|Selecciona l'element que té l'id indicat&lt;br /&gt;
|#capsalera{...}&lt;br /&gt;
|-&lt;br /&gt;
|(espai)&lt;br /&gt;
|Selecciona els elements dins de l'arbre HTML&lt;br /&gt;
|div span{...}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;gt;&lt;br /&gt;
|Selecciona els elements justament per sota d'un altre element&lt;br /&gt;
|div &amp;gt; span{...}&lt;br /&gt;
|}&lt;br /&gt;
Podem combinar selectors de diversos tipus: '''cal imaginar l'HTML com un arbre i navegar-lo.&lt;br /&gt;
&lt;br /&gt;
Per exemple, el següent codi:&lt;br /&gt;
&amp;lt;source language=&amp;quot;html&amp;gt;&lt;br /&gt;
&amp;lt;!doctype html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;&lt;br /&gt;
    &amp;lt;title&amp;gt;My home page&amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;h1&amp;gt;My home page&amp;lt;/h1&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;Hello, I am Marijn and this is my home page.&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;I also wrote a book! Read it&lt;br /&gt;
      &amp;lt;a href=&amp;quot;http://eloquentjavascript.net&amp;quot;&amp;gt;here&amp;lt;/a&amp;gt;.&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Està estructurat com indicar el següent arbre:&lt;br /&gt;
[[Fitxer:Html-tree.jpg|thumb|center]]&lt;br /&gt;
== Declaració d'estils ==&lt;br /&gt;
Els selectors que hem vist fins ara no tindrien cap sentit sense una sèrie de propietats que podem modificar.&lt;br /&gt;
Aquestes propietats són molt extenses i no és a l'abast d'aquest mòdul estudiar-los tots. En el següent link, podem trobar el llistat de propietats de CSS [http://www.w3.org/TR/CSS Link]&lt;br /&gt;
===Estils de text===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!| Propietat&lt;br /&gt;
!| Valors típics&lt;br /&gt;
|-&lt;br /&gt;
|'''color:'''&lt;br /&gt;
|''Color''&lt;br /&gt;
|-&lt;br /&gt;
|'''font-family:'''&lt;br /&gt;
|Família de fonts&lt;br /&gt;
|-&lt;br /&gt;
|'''font-size:'''&lt;br /&gt;
|''Mida''&lt;br /&gt;
|-&lt;br /&gt;
|'''font-style:'''&lt;br /&gt;
|''normal'' | italic&lt;br /&gt;
|-&lt;br /&gt;
|'''font-weight'''&lt;br /&gt;
|''normal'' | bold&lt;br /&gt;
|-&lt;br /&gt;
|'''line-height:'''&lt;br /&gt;
|''Mida''&lt;br /&gt;
|-&lt;br /&gt;
|'''text-align:'''&lt;br /&gt;
|''left'' | right | center | justify&lt;br /&gt;
|-&lt;br /&gt;
|'''text-decoration:'''&lt;br /&gt;
|''none'' | underline | overline | line-through&lt;br /&gt;
|-&lt;br /&gt;
|'''text-transform'''&lt;br /&gt;
|''none'' | uppercase | lowercase&lt;br /&gt;
|-&lt;br /&gt;
|'''font'''&lt;br /&gt;
|Permet establir ''font-style'' - ''font-variant'' - ''font-weight'' - ''font-size/line-height'' - ''font-family'', en una única declaració&lt;br /&gt;
|}&lt;br /&gt;
===Exemple estils de text ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=traditional widths=400px heights=300px&amp;gt;&lt;br /&gt;
Fitxer:ImatgeCSS3.png|Pàgina HTML sense CSS&lt;br /&gt;
Fitxer:ImatgeCSS2.png|Pàgina HMTL aplicant el CSS inferior&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source language=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
body {&lt;br /&gt;
	background-color: #f8f8f8;&lt;br /&gt;
	font-family: &amp;quot;Lucida Grande&amp;quot;, Tahoma, Arial, sans-serif;&lt;br /&gt;
	font-size:12px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h1, h2 {&lt;br /&gt;
	border-bottom:1px solid #ccc;	&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
div#capsalera h1 {&lt;br /&gt;
	font: italic bold 50px Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&lt;br /&gt;
	text-align: center;&lt;br /&gt;
	text-transform: uppercase;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
span.dolly, a {&lt;br /&gt;
	color:#7fa3fc;&lt;br /&gt;
	font-weight: bold;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
a {&lt;br /&gt;
	text-decoration:none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
div#peu {&lt;br /&gt;
	text-align:right;&lt;br /&gt;
	margin-top:40px;&lt;br /&gt;
	border-top:1px dotted #ccc;	&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
==Colors en CSS==&lt;br /&gt;
Les tres maneres més típiques d'indicar colors en CSS són:&lt;br /&gt;
*'''En format hexadecimal:#RRGGBB'''.Cada posició representa una xifra de 0 a la F(15) que indica la quantitat d'aquell color.&lt;br /&gt;
*'''En format RGB:rgb(r,g,b)'''En cada espai del parèntesi s'indica la quantitat de color del 0 al 255&lt;br /&gt;
**Com a derivat d'aquest existeix el format '''format RGBA''', amb un valor de transparència del 0 a l'1 en l'última posició: '''rgb(r,g,b,a)'''&lt;br /&gt;
*'''Nom de color''':es proporciona una llista de 147 colors predeterminats que es poden utilitzar directament.&lt;br /&gt;
**black, blue, white, red, green, yellow, magenta&lt;br /&gt;
**[http://en.wikipedia.org/wiki/Web_colors Colors en CSS]&lt;br /&gt;
[[Fitxer:ImatgeCSS4.png|center]]&lt;br /&gt;
Els llocs més típics on acostumem a aplicar colors són:&lt;br /&gt;
*'''Tipografies''': mitjançant la propietat ''color''&lt;br /&gt;
*'''Fons''': mitjançant la propietat ''background-color'' assignen colors de fons a qualsevol tipus d'element&lt;br /&gt;
*'''Vores''':''border-color'',''border-left-color'',...&lt;br /&gt;
&lt;br /&gt;
==Unitats de mida==&lt;br /&gt;
Les mides es poden indicar en les següents unitats:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!| Propietat&lt;br /&gt;
!| Notació&lt;br /&gt;
!| Exemple&lt;br /&gt;
|-&lt;br /&gt;
|Píxels&lt;br /&gt;
|Notació&lt;br /&gt;
|Exemple&lt;br /&gt;
|-&lt;br /&gt;
|Píxels&lt;br /&gt;
|'''px'''&lt;br /&gt;
|font-size:12px&lt;br /&gt;
|-&lt;br /&gt;
|Emes(l'equivalent a l'amplada de la lletra m)&lt;br /&gt;
|'''em'''&lt;br /&gt;
|font-size:1.2em&lt;br /&gt;
|-&lt;br /&gt;
|Percentatge&lt;br /&gt;
|'''%'''&lt;br /&gt;
|font-size:120%&lt;br /&gt;
|}&lt;br /&gt;
Les mides en emes o percentatges són relatives a l'element pare de l'element al qual se li hagi donat estil&lt;br /&gt;
*El que s'acostuma a fer és definir la mida del '''body''' i la resta en forma relativa &lt;br /&gt;
*El cas que no s'indiqui res al '''body''', s'agafa la mida per defecte del navegador, que acostuma a ser de '''16px''' si no ha estat canviada per l'usuari&lt;br /&gt;
==Estils sobre llistats==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!| Propietat&lt;br /&gt;
!| Valors típics&lt;br /&gt;
|-&lt;br /&gt;
|'''list-style-type:'''&lt;br /&gt;
|''none | circle | disc | square | armenian | decimal | decimal-leading-zero | georgian | lower-alpha | lower-greek | lower-latin | lower-roman | upper-alpha | upper-latin | upper-roman | inherit''&lt;br /&gt;
|-&lt;br /&gt;
|'''list-style-position:'''&lt;br /&gt;
|''inside | outside''&lt;br /&gt;
|-&lt;br /&gt;
|'''list-style:'''&lt;br /&gt;
|Permet establir tipus, posició i/o imatge en una única declaració&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Exemple de CSS aplicat a llistes===&lt;br /&gt;
&amp;lt;gallery mode=traditional widths=400px heights=300px&amp;gt;&lt;br /&gt;
Fitxer:ImatgeCSS6.png|Pàgina HTML sense CSS&lt;br /&gt;
Fitxer:ImatgeCSS5.png|Pàgina HMTL aplicant el CSS inferior&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source language=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
body {&lt;br /&gt;
	font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif;&lt;br /&gt;
	font-size: 14px;&lt;br /&gt;
	color: rgb(50,50,50);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h1 {&lt;br /&gt;
	font: 2em Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&lt;br /&gt;
	letter-spacing: -.5px;&lt;br /&gt;
	color:#576673;&lt;br /&gt;
	text-align: center;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h2 {&lt;br /&gt;
	font: 1.4em Georgia, &amp;quot;Times New Roman&amp;quot;, serif;&lt;br /&gt;
	text-transform: uppercase;&lt;br /&gt;
	color:#687c8e;&lt;br /&gt;
	border-bottom: 1px dotted #ccc;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul {&lt;br /&gt;
	list-style-type: circle;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ol {&lt;br /&gt;
	list-style-type: decimal-leading-zero;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ol ol {&lt;br /&gt;
	list-style-type: lower-roman;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li em {&lt;br /&gt;
	color: #ccc;	&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li strong {&lt;br /&gt;
	color: #6a8ea4;	&lt;br /&gt;
	text-decoration: underline;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
==Precedència de regles==&lt;br /&gt;
Quan dues declaracions es contradiuen sobre un mateix element, s'apliquen dues normes:&lt;br /&gt;
*Primer s'aplica la regla més local&lt;br /&gt;
*Si són igual de locals, s'aplica la regla amb la puntuació més alta.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!| per cada selector...&lt;br /&gt;
!| sumem ... punts&lt;br /&gt;
|-&lt;br /&gt;
|Etiqueta&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|Classe(.)&lt;br /&gt;
|10&lt;br /&gt;
|-&lt;br /&gt;
|Id(#)&lt;br /&gt;
|100&lt;br /&gt;
|-&lt;br /&gt;
|Resta&lt;br /&gt;
|0&lt;br /&gt;
|}&lt;br /&gt;
'''Sempre s'aplica aquella regla més específica'''.Si hi ha empat s'aplicarà aquella que aparegui més tard.&lt;br /&gt;
===Exemple de precedència de regles===&lt;br /&gt;
&amp;lt;source language=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!doctype html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
    &amp;lt;head&amp;gt;&lt;br /&gt;
        &amp;lt;meta charset=&amp;quot;utf-8&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;title&amp;gt;Herencia&amp;lt;/title&amp;gt;&lt;br /&gt;
        &amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
            #caja header h1 { color: blue; }&lt;br /&gt;
            #caja .cabecera h1 { color: red; }&lt;br /&gt;
            header h1 { color: lime; }&lt;br /&gt;
            h1 { color:purple; }&lt;br /&gt;
        &amp;lt;/style&amp;gt;&lt;br /&gt;
    &amp;lt;/head&amp;gt;&amp;lt;&lt;br /&gt;
    &amp;lt;body&amp;gt;&lt;br /&gt;
        &amp;lt;div id=&amp;quot;caja&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;header class=&amp;quot;cabecera&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;h1&amp;gt;Cabecera: header&amp;lt;/h1&amp;gt;&lt;br /&gt;
            &amp;lt;/header&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Com podeu observar en el codi anterior, existeixen quatre regles CSS que fan referència al mateix element, concretament a l'encapçalament h1 del codi HMTL.&lt;br /&gt;
Per saber quina de les regles s'aplicarà, caldrà calcular el pes de cada una d'elles:&lt;br /&gt;
*'''#caja header h1 { color: blue; }'''&lt;br /&gt;
La puntuació d'aquesta regla és de 102: 100 per la referència a la classe ''caja'', 1 per la referència a ''header'' i 1 per la referència a ''h1''&lt;br /&gt;
*'''#caja .cabecera h1 { color: red; }'''&lt;br /&gt;
La puntuació d'aquesta regla és de 111 per la referència a la classe ''caja'', 10 per la referència a la classe ''cabecera'' i 1 per la referència a ''h1''&lt;br /&gt;
*'''header h1 { color: lime; }'''&lt;br /&gt;
La puntuació d'aquesta regla és de 2, 1 per la referència a ''header'' i 1 per la referència a ''h1''&lt;br /&gt;
*'''h1 { color:purple; }'''&lt;br /&gt;
La puntuació d'aquesta regla és de 1 per la referència a ''h1''&lt;br /&gt;
Per tant, la regla que s'aplicarà en aquest cas és '''#caja .cabecera h1 { color: red; }'''&lt;br /&gt;
&lt;br /&gt;
==Bibliografia==&lt;br /&gt;
José Luís Antúnez, Apunts SMX2-M8&lt;/div&gt;</summary>
		<author><name>83.43.21.66</name></author>
		
	</entry>
</feed>