<?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>CSSBlog ES &#187; Barras</title>
	<atom:link href="http://www.cssblog.es/categoria/maquetacion-en-css/barras-maquetacion-en-css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cssblog.es</link>
	<description>/* El mejor recurso para enriquecer tu estilo */</description>
	<lastBuildDate>Fri, 03 Feb 2012 15:39:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Cambiar los colores de la barra de scroll con CSS</title>
		<link>http://www.cssblog.es/cambiar-los-colores-de-la-barra-de-scroll-con-css/</link>
		<comments>http://www.cssblog.es/cambiar-los-colores-de-la-barra-de-scroll-con-css/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 08:00:03 +0000</pubDate>
		<dc:creator>Pedro CM</dc:creator>
				<category><![CDATA[Barras]]></category>
		<category><![CDATA[CSS Básico]]></category>
		<category><![CDATA[Guías]]></category>
		<category><![CDATA[barra scroll]]></category>
		<category><![CDATA[barra scroll color]]></category>
		<category><![CDATA[barra scroll CSS]]></category>
		<category><![CDATA[barras]]></category>
		<category><![CDATA[cambiar color barra scroll]]></category>

		<guid isPermaLink="false">http://www.cssblog.es/?p=1023</guid>
		<description><![CDATA[Podemos cambiar los colores de la barra de scroll en Internet Explorer (digo Internet Explorer porque simplemente solo funciona para este navegador, los demás no dejan cambiar el color de la barra de scroll) mediante este sencillo código, pero claro, primero vamos a descrifrarlo y ver que quiere decir cada cosa: scrollbar-arrow-color = color de ... <a href="http://www.cssblog.es/cambiar-los-colores-de-la-barra-de-scroll-con-css/">Lee m&#225;s!</a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.cssblog.es/cambiar-los-colores-de-la-barra-de-scroll-con-css/"><img class="aligncenter size-full wp-image-1024 dtse-img dtse-post-1023" title="scroll-bar-color-css" src="http://www.cssblog.es/domains/cssblog.es/public_html/wp-content/uploads/2009/02/scroll-bar-color-css.gif" alt="scroll-bar-color-css" width="232" height="242" /></a></p>
<p>Podemos <strong>cambiar los colores de la barra de scroll en Internet Explorer</strong> (digo Internet Explorer porque simplemente <strong>solo funciona para este navegador</strong>, los demás <strong>no dejan cambiar el color de la barra de scroll</strong>) mediante este sencillo código, pero claro, primero vamos a descrifrarlo y ver que quiere decir cada cosa:</p>
<p>scrollbar-arrow-color = color de la flecha<br />
scrollbar-base-color = color de la base<br />
scrollbar-dark-shadow-color = sombra del primer plano<br />
scrollbar-track-color = color del fondo de la barra.<br />
<span id="more-1023"></span><br />
scrollbar-face-color = color del primer plano.<br />
scrollbar-shadow-color = color de la sombra del fondo.<br />
scrollbar-highlight-color = luz del cuadro de la flecha<br />
scrollbar-3d-light-color = luz 3D.</p>
<p>Ahora que ya hemos traducido lo que significa cada cosa, <strong>el código CSS añadir sería este:</strong></p>
<pre class="css">&lt;style type="text/css"&gt;
body {
scrollbar-arrow-color: white;
scrollbar-base-color: white;
scrollbar-dark-shadow-color: #000080;
scrollbar-track-color: #0080C0;
scrollbar-face-color: #000080;
scrollbar-shadow-color: white;
scrollbar-highlight-color: white;
scrollbar-3d-light-color: a;
}
&lt;/style&gt;</pre>
<p>No olvidemos meter este código entre body {}, como viene por defecto, claro está.</p>
<p>También tenemos<strong> </strong><a rel="nofollow" href="http://scrollbar-creator.addictools.com/"><strong>generadores online para cambiar la barra de scroll</strong></a>, mucho más cómodo, aunque lo mejor sería poner el código por nuestra cuenta aprendiendo con esta entrada.</p>
<p>		<!-- Added by WP-DragToShare-eXtended Plugin --><br />
		<script type="text/javascript">
			dtsv.dtse_post_1023_permalink = 'http://www.cssblog.es/cambiar-los-colores-de-la-barra-de-scroll-con-css/';
			dtsv.dtse_post_1023_title = 'Cambiar los colores de la barra de scroll con CSS';
		</script><br />
		<!-- End of WP-DragToShare-eXtended Plugin --></p>


<p style="font-size: 14px;line-height: 0px;"><b>Artículos relacionados</b></p><p style="margin-top: 2px;margin-bottom: 3px; padding: 0;">Puede que tengas interés por ver algunos de estos artículos muy relacionados con esta entrada:</p><ul style="line-height: 20px;list-style: none;margin-left: 50px;padding: 0;"><li style="list-style: none;margin: 0;background: transparent url('http://www.cssblog.es/wp-content/themes/glossyblue-1-4/images/list_bullet.gif') 0px 5px no-repeat; 	padding: 0 0 0 12px;"><a href='http://www.cssblog.es/%c2%bfdegradados-o-colores-planos/' rel='bookmark' title='Permanent Link: ¿Degradados o colores planos?'>¿Degradados o colores planos?</a></li></ul>
<ul style="line-height: 20px;list-style: none;margin-left: 50px;padding: 0;"><li style="list-style: none;margin: 0;background: transparent url('http://www.cssblog.es/wp-content/themes/glossyblue-1-4/images/list_bullet.gif') 0px 5px no-repeat; 	padding: 0 0 0 12px;"><a href='http://www.cssblog.es/deshabilitar-scroll-mediante-css/' rel='bookmark' title='Permanent Link: Deshabilitar scroll mediante CSS'>Deshabilitar scroll mediante CSS</a></li></ul>
<ul style="line-height: 20px;list-style: none;margin-left: 50px;padding: 0;"><li style="list-style: none;margin: 0;background: transparent url('http://www.cssblog.es/wp-content/themes/glossyblue-1-4/images/list_bullet.gif') 0px 5px no-repeat; 	padding: 0 0 0 12px;"><a href='http://www.cssblog.es/forzar-la-barra-de-desplazamiento-vertical-con-css/' rel='bookmark' title='Permanent Link: Forzar la barra de desplazamiento vertical con CSS'>Forzar la barra de desplazamiento vertical con CSS</a></li></ul>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.cssblog.es/cambiar-los-colores-de-la-barra-de-scroll-con-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Barras gráficas con CSS</title>
		<link>http://www.cssblog.es/barras-graficas-con-css/</link>
		<comments>http://www.cssblog.es/barras-graficas-con-css/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 18:25:41 +0000</pubDate>
		<dc:creator>Pedro CM</dc:creator>
				<category><![CDATA[Barras]]></category>
		<category><![CDATA[CSS Avanzado]]></category>
		<category><![CDATA[CSS Medio]]></category>
		<category><![CDATA[Recursos CSS y diseño]]></category>
		<category><![CDATA[barra CSS]]></category>
		<category><![CDATA[barra gráfica]]></category>
		<category><![CDATA[barra gráfica CSS]]></category>
		<category><![CDATA[barra simple]]></category>
		<category><![CDATA[barras]]></category>
		<category><![CDATA[barras CSS]]></category>

		<guid isPermaLink="false">http://www.cssblog.es/?p=769</guid>
		<description><![CDATA[En esta entrada os mostraremos como crear distintos tipos de barras gráficas mediante el uso de CSS. Estas gráficas pueden ser muy útiles para mostrar la evolución de algo, además, no se requiere ninguna imagen, lo que a Google le gusta y acelera la carga del sitio web. Ya os enseñamos a crear una barra ... <a href="http://www.cssblog.es/barras-graficas-con-css/">Lee m&#225;s!</a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-776 dtse-img dtse-post-769" title="barra-css3" src="http://www.cssblog.es/domains/cssblog.es/public_html/wp-content/uploads/2009/01/barra-css3.gif" alt="barra-css3" width="390" height="221" /></p>
<p>En esta entrada os mostraremos como <strong>crear distintos tipos de barras gráficas mediante el uso de CSS.</strong> Estas gráficas pueden ser muy útiles para mostrar la evolución de algo, además, no se requiere ninguna imagen, lo que a Google le gusta y acelera la carga del sitio web. Ya os enseñamos a <a href="http://www.cssblog.es/crear-barra-animada-en-css/">crear una barra animada tiempo atrás.</a></p>
<p><span id="more-769"></span></p>
<p>Empezemos:</p>
<h2 id="toc-1-simple-barra-grfica">1. Simple barra gráfica</h2>
<p><img class="alignnone size-full wp-image-774 dtse-img dtse-post-769" title="barra-css1" src="http://www.cssblog.es/domains/cssblog.es/public_html/wp-content/uploads/2009/01/barra-css1.gif" alt="barra-css1" width="258" height="140" /></p>
<p>Una barra gráfica horizontal con porcentaje, para aplicarlo, deberemos incluir este código CSS:</p>
<pre class="css">.graph {
position: relative; /* IE is dumb */
width: 200px;
border: 1px solid #B1D632;
padding: 2px;
}
.graph .bar {
display: block;
position: relative;
background: #B1D632;
text-align: center;
color: #333;
height: 2em;
line-height: 2em;
}
.graph .bar span { position: absolute; left: 1em; }</pre>
<p>Y este código HTML:</p>
<pre class="html">&lt;div class="graph"&gt;
&lt;strong class="bar" style="width: 24%;"&gt;24%&lt;/strong&gt;
&lt;/div&gt;</pre>
<p>El porcentaje se puede cambiar modificando el width de &lt;strong&gt; y el número en porcentaje que rodea dicha etiqueta (Ahora mismo es 24%).</p>
<p>Podemos ver un ejemplo de este tipo de gráfica aquí:</p>
<p>Ejemplo de barra gráfica simple</p>
<h2 id="toc-2-barra-css-compleja">2. Barra CSS compleja</h2>
<p><img class="alignnone size-full wp-image-775 dtse-img dtse-post-769" title="barra-css2" src="http://www.cssblog.es/domains/cssblog.es/public_html/wp-content/uploads/2009/01/barra-css2.gif" alt="barra-css2" width="335" height="103" /></p>
<p>Esta barra, como se puede observar en la imagen, goza de una compleja visualización, por lo que es más complicada construirla. Para crearla.</p>
<p>El código CSS a implementar sería:</p>
<pre class="css">dl {
        margin: 0;
        padding: 0;
    }
    dt {
        position: relative; /* IE is dumb */
        clear: both;
        display: block;
        float: left;
        width: 104px;
        height: 20px;
        line-height: 20px;
        margin-right: 17px;
        font-size: .75em;
        text-align: right;
    }
    dd {
        position: relative; /* IE is dumb */
        display: block;
        float: left;
        width: 197px;
        height: 20px;
        margin: 0 0 15px;
        background: url("g_colorbar.jpg");
     }
     * html dd { float: none; }
    /* IE is dumb; Quick IE hack, apply favorite filter methods for
    wider browser compatibility */

     dd div {
        position: relative;
        background: url("g_colorbar2.jpg");
        height: 20px;
        width: 75%;
        text-align:right;
     }
     dd div strong {
        position: absolute;
        right: -5px;
        top: -2px;
        display: block;
        background: url("g_marker.gif");
        height: 24px;
        width: 9px;
        text-align: left;
        text-indent: -9999px;
        overflow: hidden;
     }</pre>
<p>El código HTML:</p>
<pre class="html">&lt;dl&gt;
    &lt;dt&gt;Love Life&lt;/dt&gt;
    &lt;dd&gt;
        &lt;div style="width:25%;"&gt;&lt;strong&gt;25%&lt;/strong&gt;&lt;/div&gt;
    &lt;/dd&gt;
    &lt;dt&gt;Education&lt;/dt&gt;
    &lt;dd&gt;
        &lt;div style="width:55%;"&gt;&lt;strong&gt;55%&lt;/strong&gt;&lt;/div&gt;
    &lt;/dd&gt;
    &lt;dt&gt;War Craft 3 Rank&lt;/dt&gt;
    &lt;dd&gt;
        &lt;div style="width:75%;"&gt;&lt;strong&gt;75%&lt;/strong&gt;&lt;/div&gt;
    &lt;/dd&gt;
&lt;/dl&gt;</pre>
<p>Se puede ver un ejemplo de su funcionamiento.</p>
<h2 id="toc-3-barra-vertical">3. Barra vertical</h2>
<p><img class="alignnone size-full wp-image-776 dtse-img dtse-post-769" title="barra-css3" src="http://www.cssblog.es/domains/cssblog.es/public_html/wp-content/uploads/2009/01/barra-css3.gif" alt="barra-css3" width="390" height="221" /></p>
<p>Otro tipo de barras gráficas son las barras verticales. Para crearlas, deberemos añadir este código CSS a nuestro documento:</p>
<pre class="css">   #vertgraph {
        width: 378px;
        height: 207px;
        position: relative;
        background: url("g_backbar.gif") no-repeat;
    }
    #vertgraph ul {
        width: 378px;
        height: 207px;
        margin: 0;
        padding: 0;
    }
    #vertgraph ul li {
        position: absolute;
        width: 28px;
        height: 160px;
        bottom: 34px;
        padding: 0 !important;
        margin: 0 !important;
        background: url("g_colorbar3.jpg") no-repeat !important;
        text-align: center;
        font-weight: bold;
        color: white;
        line-height: 2.5em;
    }

    #vertgraph li.critical { left: 24px; background-position: 0px bottom !important; }
    #vertgraph li.high { left: 101px; background-position: -28px bottom !important; }
    #vertgraph li.medium { left: 176px; background-position: -56px bottom !important; }
    #vertgraph li.low { left: 251px; background-position: -84px bottom !important; }
    #vertgraph li.info { left: 327px; background-position: -112px bottom !important; }</pre>
<p>El código HTML sería:</p>
<pre class="html">&lt;div id="vertgraph"&gt;
    &lt;ul&gt;
        &lt;li class="critical" style="height: 150px;"&gt;22&lt;/li&gt;
        &lt;li class="high" style="height: 80px;"&gt;7&lt;/li&gt;
        &lt;li class="medium" style="height: 50px;"&gt;3&lt;/li&gt;
        &lt;li class="low" style="height: 90px;"&gt;8&lt;/li&gt;
        &lt;li class="info" style="height: 40px;"&gt;2&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;</pre>
<p>Ya estaría lista la barra.</p>
<p>Se puede ver un ejemplo de su funcionamiento.</p>
<p>Vía | Apples to Oranges</p>
<p>		<!-- Added by WP-DragToShare-eXtended Plugin --><br />
		<script type="text/javascript">
			dtsv.dtse_post_769_permalink = 'http://www.cssblog.es/barras-graficas-con-css/';
			dtsv.dtse_post_769_title = 'Barras gráficas con CSS';
		</script><br />
		<!-- End of WP-DragToShare-eXtended Plugin --></p>


<p style="font-size: 14px;line-height: 0px;"><b>Artículos relacionados</b></p><p style="margin-top: 2px;margin-bottom: 3px; padding: 0;">Puede que tengas interés por ver algunos de estos artículos muy relacionados con esta entrada:</p><ul style="line-height: 20px;list-style: none;margin-left: 50px;padding: 0;"><li style="list-style: none;margin: 0;background: transparent url('http://www.cssblog.es/wp-content/themes/glossyblue-1-4/images/list_bullet.gif') 0px 5px no-repeat; 	padding: 0 0 0 12px;"><a href='http://www.cssblog.es/css-position-fixed-para-ie6/' rel='bookmark' title='Permanent Link: CSS Position Fixed para IE6'>CSS Position Fixed para IE6</a></li></ul>
<ul style="line-height: 20px;list-style: none;margin-left: 50px;padding: 0;"><li style="list-style: none;margin: 0;background: transparent url('http://www.cssblog.es/wp-content/themes/glossyblue-1-4/images/list_bullet.gif') 0px 5px no-repeat; 	padding: 0 0 0 12px;"><a href='http://www.cssblog.es/graficas-prefabricadas-en-css/' rel='bookmark' title='Permanent Link: Gráficas prefabricadas en CSS'>Gráficas prefabricadas en CSS</a></li></ul>
<ul style="line-height: 20px;list-style: none;margin-left: 50px;padding: 0;"><li style="list-style: none;margin: 0;background: transparent url('http://www.cssblog.es/wp-content/themes/glossyblue-1-4/images/list_bullet.gif') 0px 5px no-repeat; 	padding: 0 0 0 12px;"><a href='http://www.cssblog.es/un-lapiz-que-dibuja-solo-con-css/' rel='bookmark' title='Permanent Link: Un lapiz que dibuja solo con CSS'>Un lapiz que dibuja solo con CSS</a></li></ul>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.cssblog.es/barras-graficas-con-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crear barra animada en CSS</title>
		<link>http://www.cssblog.es/crear-barra-animada-en-css/</link>
		<comments>http://www.cssblog.es/crear-barra-animada-en-css/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 19:40:26 +0000</pubDate>
		<dc:creator>Pedro CM</dc:creator>
				<category><![CDATA[Barras]]></category>
		<category><![CDATA[CSS Avanzado]]></category>
		<category><![CDATA[CSS Medio]]></category>
		<category><![CDATA[Recursos CSS y diseño]]></category>
		<category><![CDATA[barra animada CSS]]></category>
		<category><![CDATA[crear barra animada]]></category>

		<guid isPermaLink="false">http://www.cssblog.es/?p=293</guid>
		<description><![CDATA[Una técnica muy sencilla para crear barras de progreso animadas, utilizando solamente 3 elementos, un contenedor y 2 elementos anidados. Es muy fácil personalizarla, y utilizarlas en nuestros proyectos. Ver demo de la barra animada Descargar la barra animada Más información Vía &#124; Xybernéticos dtsv.dtse_post_293_permalink = 'http://www.cssblog.es/crear-barra-animada-en-css/'; dtsv.dtse_post_293_title = 'Crear barra animada en CSS'; Artículos ... <a href="http://www.cssblog.es/crear-barra-animada-en-css/">Lee m&#225;s!</a>]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-294 alignleft dtse-img dtse-post-293" title="cssbar_animada" src="http://www.cssblog.es/wp-content/uploads/2009/01/cssbar.jpg" alt="cssbar_animada" width="318" height="286" /></p>
<p>Una técnica muy sencilla para <strong>crear barras de progreso animadas</strong>, utilizando solamente 3 elementos, un contenedor y 2 elementos anidados.</p>
<p>Es muy fácil personalizarla, y utilizarlas en nuestros proyectos.</p>
<p><strong><a rel="nofollow" href="http://cssglobe.com/lab/progress_bar/">Ver demo de la barra animada</a><br />
</strong></p>
<p><strong><a rel="nofollow" href="http://cssglobe.com/lab/progress_bar/progress_bar.zip">Descargar la barra animada</a></strong></p>
<p><a rel="nofollow" href="http://cssglobe.com/post/1468/pure-css-animated-progress-bar">Más información</a></p>
<p>Vía | <a rel="nofollow" href="http://xyberneticos.com/index.php/2008/03/30/barras-de-progreso-animadas-usando-solo-css/">Xybernéticos</a></p>
<p>		<!-- Added by WP-DragToShare-eXtended Plugin --><br />
		<script type="text/javascript">
			dtsv.dtse_post_293_permalink = 'http://www.cssblog.es/crear-barra-animada-en-css/';
			dtsv.dtse_post_293_title = 'Crear barra animada en CSS';
		</script><br />
		<!-- End of WP-DragToShare-eXtended Plugin --></p>


<p style="font-size: 14px;line-height: 0px;"><b>Artículos relacionados</b></p><p style="margin-top: 2px;margin-bottom: 3px; padding: 0;">Puede que tengas interés por ver algunos de estos artículos muy relacionados con esta entrada:</p><ul style="line-height: 20px;list-style: none;margin-left: 50px;padding: 0;"><li style="list-style: none;margin: 0;background: transparent url('http://www.cssblog.es/wp-content/themes/glossyblue-1-4/images/list_bullet.gif') 0px 5px no-repeat; 	padding: 0 0 0 12px;"><a href='http://www.cssblog.es/elegante-barra-de-navegacion-usando-css/' rel='bookmark' title='Permanent Link: Elegante barra de navegación usando CSS'>Elegante barra de navegación usando CSS</a></li></ul>
<ul style="line-height: 20px;list-style: none;margin-left: 50px;padding: 0;"><li style="list-style: none;margin: 0;background: transparent url('http://www.cssblog.es/wp-content/themes/glossyblue-1-4/images/list_bullet.gif') 0px 5px no-repeat; 	padding: 0 0 0 12px;"><a href='http://www.cssblog.es/forzar-la-barra-de-desplazamiento-vertical-con-css/' rel='bookmark' title='Permanent Link: Forzar la barra de desplazamiento vertical con CSS'>Forzar la barra de desplazamiento vertical con CSS</a></li></ul>
<ul style="line-height: 20px;list-style: none;margin-left: 50px;padding: 0;"><li style="list-style: none;margin: 0;background: transparent url('http://www.cssblog.es/wp-content/themes/glossyblue-1-4/images/list_bullet.gif') 0px 5px no-repeat; 	padding: 0 0 0 12px;"><a href='http://www.cssblog.es/barras-graficas-con-css/' rel='bookmark' title='Permanent Link: Barras gráficas con CSS'>Barras gráficas con CSS</a></li></ul>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.cssblog.es/crear-barra-animada-en-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

