<?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/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>div Archivi - Domenico Monaco</title>
	<atom:link href="https://blog.domenicomonaco.it/tag/div/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Un Blog sulle Persone e le Tecnologie</description>
	<lastBuildDate>Sat, 28 Nov 2020 17:16:28 +0000</lastBuildDate>
	<language>it-IT</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://i0.wp.com/blog.domenicomonaco.it/wp-content/uploads/2018/10/cropped-icon_monaco_domenico-1.png?fit=32%2C32&#038;ssl=1</url>
	<title>div Archivi - Domenico Monaco</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">145023925</site>	<item>
		<title>Limitare la lunghezza del bordo di un DIV con CSS</title>
		<link>https://blog.domenicomonaco.it/20160719759/limitare-la-lunghezza-del-bordo-di-un-div-con-css/</link>
					<comments>https://blog.domenicomonaco.it/20160719759/limitare-la-lunghezza-del-bordo-di-un-div-con-css/#respond</comments>
		
		<dc:creator><![CDATA[Domenico Monaco]]></dc:creator>
		<pubDate>Tue, 19 Jul 2016 12:26:22 +0000</pubDate>
				<category><![CDATA[Sviluppo]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[lungehzza]]></category>
		<category><![CDATA[tips]]></category>
		<guid isPermaLink="false">http://blog.domenicomonaco.it/?p=759</guid>

					<description><![CDATA[<p>Supponiamo di avere un generico &#60;div&#62; che vogliamo accompagnare con un bordo che invece di coprire l&#8217;intera dimensione del &#60;div&#62; stesso ne copre solo una parte. Soluzione per limitare la la lunghezza del bordo di un DIV con CSS Crea il div contenente ad esempio un immagine &#60;div class="images"&#62; &#60;div class="img"&#62; &#60;img src="img/th_256_sq_1.jpeg" width="220px"&#62; &#60;/div&#62; &#60;h4&#62;Travel&#60;/h4&#62;...</p>
<p>L'articolo <a href="https://blog.domenicomonaco.it/20160719759/limitare-la-lunghezza-del-bordo-di-un-div-con-css/">Limitare la lunghezza del bordo di un DIV con CSS</a> sembra essere il primo su <a href="https://blog.domenicomonaco.it">Domenico Monaco</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Supponiamo di avere un generico &lt;div&gt; che vogliamo accompagnare con un bordo che invece di coprire l&#8217;intera dimensione del &lt;div&gt; stesso ne copre solo una parte.<a href="https://i0.wp.com/blog.domenicomonaco.it/wp-content/uploads/2016/07/limit-border-lenght-than-div.png" rel="lightbox[759]"><img data-recalc-dims="1" fetchpriority="high" decoding="async" data-attachment-id="760" data-permalink="https://blog.domenicomonaco.it/20160719759/limitare-la-lunghezza-del-bordo-di-un-div-con-css/limit-border-lenght-than-div/" data-orig-file="https://i0.wp.com/blog.domenicomonaco.it/wp-content/uploads/2016/07/limit-border-lenght-than-div.png?fit=1957%2C1293&amp;ssl=1" data-orig-size="1957,1293" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Limitare la la lunghezza del bordo di un DIV con CSS" data-image-description="&lt;p&gt;Limitare la la lunghezza del bordo di un DIV con CSS&lt;/p&gt;
" data-image-caption="&lt;p&gt;Limitare la la lunghezza del bordo di un DIV con CSS&lt;/p&gt;
" data-medium-file="https://i0.wp.com/blog.domenicomonaco.it/wp-content/uploads/2016/07/limit-border-lenght-than-div.png?fit=300%2C198&amp;ssl=1" data-large-file="https://i0.wp.com/blog.domenicomonaco.it/wp-content/uploads/2016/07/limit-border-lenght-than-div.png?fit=1024%2C677&amp;ssl=1" tabindex="0" role="button" class="aligncenter wp-image-760 size-large" src="https://i0.wp.com/blog.domenicomonaco.it/wp-content/uploads/2016/07/limit-border-lenght-than-div-1024x677.png?resize=700%2C463" alt="limit-border-lenght-than-div" width="700" height="463" srcset="https://i0.wp.com/blog.domenicomonaco.it/wp-content/uploads/2016/07/limit-border-lenght-than-div.png?resize=1024%2C677&amp;ssl=1 1024w, https://i0.wp.com/blog.domenicomonaco.it/wp-content/uploads/2016/07/limit-border-lenght-than-div.png?resize=300%2C198&amp;ssl=1 300w, https://i0.wp.com/blog.domenicomonaco.it/wp-content/uploads/2016/07/limit-border-lenght-than-div.png?resize=768%2C507&amp;ssl=1 768w, https://i0.wp.com/blog.domenicomonaco.it/wp-content/uploads/2016/07/limit-border-lenght-than-div.png?w=1957&amp;ssl=1 1957w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
<h3>Soluzione per limitare la la lunghezza del bordo di un DIV con CSS</h3>
<ol>
<ol>
<li>Crea il div contenente ad esempio un immagine</li>
<li>
<pre>&lt;div class="images"&gt;
 &lt;div class="img"&gt;
 &lt;img src="img/th_256_sq_1.jpeg" width="220px"&gt;
 &lt;/div&gt;
 &lt;h4&gt;Travel&lt;/h4&gt;
&lt;/div&gt;</pre>
</li>
<li>Aggiungere le proprietà CSS</li>
<li>
<pre>.images .img {
 position: relative;
 }

.images .img:after {
 content: "";
 background: #D77D19;
 position: absolute;
 bottom: -12px;
 left: 0;
 height: 8px;
 width: 120px;
 }</pre>
</li>
</ol>
</ol>
<p>&nbsp;</p>
<p><strong><a class="btn btn-primary" href="https://kiuz.github.io/sandbox-html-js-css/limit-border-length/index.html">Visualizza Anteprima Esempio</a> /// <a class="btn btn-primary" href="https://github.com/kiuz/sandbox-html-js-css/tree/gh-pages/limit-border-length">Visualizza codice</a></strong></p>
<blockquote><p><strong>Cosa ne pensi? Dimmelo su Twitter <a href="https://twitter.com/_domenicomonaco">@_domenicomonaco</a> oppure su Linkedin <a href="http://linkedin.com/in/domenicomonaco/">linkedin.com/in/domenicomonaco</a></strong>
</p></blockquote>
<p>L'articolo <a href="https://blog.domenicomonaco.it/20160719759/limitare-la-lunghezza-del-bordo-di-un-div-con-css/">Limitare la lunghezza del bordo di un DIV con CSS</a> sembra essere il primo su <a href="https://blog.domenicomonaco.it">Domenico Monaco</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.domenicomonaco.it/20160719759/limitare-la-lunghezza-del-bordo-di-un-div-con-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">759</post-id>	</item>
	</channel>
</rss>
