<?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>Pactum.net</title>
	<atom:link href="https://pactum.net/en/feed/" rel="self" type="application/rss+xml" />
	<link>https://pactum.net/en</link>
	<description>Portfolio Site</description>
	<lastBuildDate>Fri, 18 Sep 2015 12:17:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.42</generator>
	<item>
		<title>Multiple columns text  on CSS</title>
		<link>https://pactum.net/en/carrying-out-successful-research-for-a-web-project/</link>
		<comments>https://pactum.net/en/carrying-out-successful-research-for-a-web-project/#comments</comments>
		<pubDate>Sat, 20 Jun 2015 21:23:24 +0000</pubDate>
		<dc:creator><![CDATA[project-admin]]></dc:creator>
				<category><![CDATA[Article]]></category>

		<guid isPermaLink="false">http://it-project-lab.com/?p=131</guid>
		<description><![CDATA[From the growth of technology the monitors are becoming wider and wider, and along with them, and blocks of text...]]></description>
				<content:encoded><![CDATA[<p>From the growth of technology the monitors are becoming wider and wider, and along with them, and blocks of text on websites. It is known that a person is most comfortable to read approximately 67-75 characters per line, but some browsers do not allow time to implement layout in multiple columns by using the built-in functionality. The Technologies are not standing, and more and more browsers are implementing will support multi-column text, which will be discussed in this article.</p>
<p><strong>The demonstration of this process can be found in the text of the article.</strong></p>
<p><a href="http://pactum.net/wp-content/uploads/2015/05/multicol-ppppppp.jpeg"><img class="alignnone size-full wp-image-334" src="http://pactum.net/wp-content/uploads/2015/05/multicol-ppppppp.jpeg" alt="multicol ppppppp" width="726" height="256" /></a></p>
<p><strong>Implementation:</strong></p>
<p><img class="alignnone  wp-image-344" src="http://pactum.net/wp-content/uploads/2015/05/css.jpg" alt="css" width="972" height="252" /></p>
<p>As you may have guessed, the column-count property specifies the number of columns and column-gap &#8211; the distance between the columns. There are also additional features: column-width, allowing strictly set the width of columns and column-rule, which determines the divider between the columns (for example, 1px dotted #ccc, to separate columns dotted line). In addition, you can use prefixes and -webkit- and -moz- to support older versions of browsers. Thus, you can control columns, simply by changing the numerical values of the properties.</p>
<p><strong>Adaptive multi-column text</strong></p>
<p>What if our website has &#8220;rubber&#8221; layout and its width can vary, for example, from 320px to 1200px? In this case, we have the support of such a feature CSS, as a &#8220;media queries&#8221; (allowing to change the css-properties of the different objects, depending on the width of the user&#8217;s screen).<br />
Let&#8217;s add after the above classes the following snippet:</p>
<p><img class="alignnone  wp-image-345" src="http://pactum.net/wp-content/uploads/2015/05/css-2.jpg" alt="css 2" width="1107" height="140" /></p>
<p>This fragment is as follows: if the width of the screen is greater than or equal 1024px, let&#8217;s apply the properties contained in the block. In our case, we will overwrite some of the properties class: .three number of columns from the two will increase to three. Ok, it&#8217;s for large monitors. Let&#8217;s  care of mobile devices &#8211; it does not need a column, so let&#8217;s go one step further and add a piece of code:</p>
<p><img class="alignnone  wp-image-346" src="http://pactum.net/wp-content/uploads/2015/05/css-3.jpg" alt="css 3" width="1023" height="133" /></p>
<p>This code will work when the screen width 480px and less and display all of the text in one column.<br />
Thus, we have the following scheme:</p>
<p>Screen Width &lt;= 480px &#8211; one column of text.<br />
Screen width from 480px to 1024px &#8211; two columns.<br />
Screen width&gt; = 1024px &#8211; three columns.</p>
]]></content:encoded>
			<wfw:commentRss>https://pactum.net/en/carrying-out-successful-research-for-a-web-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
