
<?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 Tips Archives - TECHNIG</title>
	<atom:link href="https://www.technig.com/tag/css-tips/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.technig.com/tag/css-tips/</link>
	<description>Gateway for IT Experts and Tech Geeks</description>
	<lastBuildDate>Sun, 26 Jul 2020 10:05:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://www.technig.com/wp-content/uploads/2020/04/32x32.png</url>
	<title>CSS Tips Archives - TECHNIG</title>
	<link>https://www.technig.com/tag/css-tips/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">162720667</site>	<item>
		<title>7 Inspiring CSS Frameworks You Don&#8217;t Know About</title>
		<link>https://www.technig.com/inspiring-css-frameworks/</link>
					<comments>https://www.technig.com/inspiring-css-frameworks/#comments</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Wed, 15 Nov 2017 13:00:20 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[CSS Frameworks]]></category>
		<category><![CDATA[CSS Solution]]></category>
		<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Responsive Web Design Framework]]></category>
		<category><![CDATA[Small Business Web Design]]></category>
		<category><![CDATA[UI Frameworks]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Design Framework]]></category>
		<category><![CDATA[Web Designing]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=13592</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/11/7-Inspiring-CSS-Frameworks-You-Dont-Know-About.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="7 Inspiring CSS Frameworks You Don&#039;t Know About" decoding="async" fetchpriority="high" srcset="https://www.technig.com/wp-content/uploads/2017/11/7-Inspiring-CSS-Frameworks-You-Dont-Know-About.jpg 840w, https://www.technig.com/wp-content/uploads/2017/11/7-Inspiring-CSS-Frameworks-You-Dont-Know-About-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/7-Inspiring-CSS-Frameworks-You-Dont-Know-About-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>As a web designer, you always look for the best CSS frameworks to build your project. There are many CSS frameworks, but most of them don&#8217;t have the features that you want. Besides, some of them do not have proper documentation or proper coding. Also, some of them are too heavy. Therefore, we have collected [&#8230;]</p>
<p>The post <a href="https://www.technig.com/inspiring-css-frameworks/">7 Inspiring CSS Frameworks You Don&#8217;t Know About</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/11/7-Inspiring-CSS-Frameworks-You-Dont-Know-About.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="7 Inspiring CSS Frameworks You Don&#039;t Know About" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/11/7-Inspiring-CSS-Frameworks-You-Dont-Know-About.jpg 840w, https://www.technig.com/wp-content/uploads/2017/11/7-Inspiring-CSS-Frameworks-You-Dont-Know-About-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/7-Inspiring-CSS-Frameworks-You-Dont-Know-About-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>As a web designer, you always look for the best CSS frameworks to build your project. There are many CSS frameworks, but most of them don&#8217;t have the features that you want. Besides, some of them do not have proper documentation or proper coding. Also, some of them are too heavy. Therefore, we have collected seven inspiring and creatively design CSS framework. These frameworks have a clean design, code, and documentation. Additionally, they are lightweight CSS frameworks. So, you can use them for your next project and create something spectacular.</p>
<h2>7 Inspiring CSS Frameworks</h2>
<p>In a nutshell, below are the seven the best <a href="https://www.technig.com/top-7-best-css-frameworks/">CSS framework</a> you don&#8217;t know about yet.</p>
<ol>
<li>Spectre.css</li>
<li>Tailwind CSS</li>
<li>Primer</li>
<li>Bulma</li>
<li>Vuetify</li>
<li>UIkit</li>
<li>Pure CSS</li>
</ol>
<p>These frameworks are not popular, but they have amazing features.</p>
<h2>Spectre.css</h2>
<figure id="attachment_13651" aria-describedby="caption-attachment-13651" style="width: 800px" class="wp-caption aligncenter"><a href="https://www.technig.com/spectre-css-a-lightweight-responsive-and-modern-css-framework/"><img decoding="async" class="wp-image-13651 size-full" src="https://www.technig.com/wp-content/uploads/2017/11/Spectre.css-A-lightweight-responsive-and-modern-CSS-framework.png" alt="Spectre.css - A lightweight responsive and modern CSS framework" width="800" height="400" srcset="https://www.technig.com/wp-content/uploads/2017/11/Spectre.css-A-lightweight-responsive-and-modern-CSS-framework.png 800w, https://www.technig.com/wp-content/uploads/2017/11/Spectre.css-A-lightweight-responsive-and-modern-CSS-framework-300x150.png 300w, https://www.technig.com/wp-content/uploads/2017/11/Spectre.css-A-lightweight-responsive-and-modern-CSS-framework-768x384.png 768w" sizes="(max-width: 800px) 100vw, 800px" /></a><figcaption id="caption-attachment-13651" class="wp-caption-text">Spectre.css &#8211; A lightweight, responsive and modern CSS framework</figcaption></figure>
<p>A very clean and small CSS framework. Spectre.css is a lightweight, responsive and contemporary CSS framework. Besides, it&#8217;s open-source and completely free. Also, it is a side project based on years of CSS development work on a massive web service project. Spectre only includes modern base styles, responsive layout system, CSS components and utilities, and it can be modified for your project with SASS/SCSS compiler.</p>
<p>The features are a lot. Besides, the design is very clean and user-friendly.</p>
<h3>Browser support:</h3>
<p>Spectre uses <a href="https://github.com/postcss/autoprefixer">Autoprefixer</a> to make most styles compatible with earlier browsers and Normalize.css for CSS resets.</p>
<ul>
<li>Chrome (LAST 4)</li>
<li>Microsoft Edge (LAST 4)</li>
<li>Firefox (EXTENDED SUPPORT RELEASE)</li>
<li>Safari (LAST 4)</li>
<li>Opera (LAST 4)</li>
<li>Internet Explorer 10+</li>
</ul>
<p>This framework support almost most modern browsers.</p>
<h2>Tailwind CSS</h2>
<figure id="attachment_13652" aria-describedby="caption-attachment-13652" style="width: 645px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/11/Tailwind-CSS-A-Utility-First-CSS-Framework.jpg"><img decoding="async" class="wp-image-13652 size-full" src="https://www.technig.com/wp-content/uploads/2017/11/Tailwind-CSS-A-Utility-First-CSS-Framework.jpg" alt="Tailwind CSS - A Utility-First CSS Framework" width="645" height="374" srcset="https://www.technig.com/wp-content/uploads/2017/11/Tailwind-CSS-A-Utility-First-CSS-Framework.jpg 645w, https://www.technig.com/wp-content/uploads/2017/11/Tailwind-CSS-A-Utility-First-CSS-Framework-300x174.jpg 300w" sizes="(max-width: 645px) 100vw, 645px" /></a><figcaption id="caption-attachment-13652" class="wp-caption-text">Tailwind CSS &#8211; A Utility-First CSS Framework</figcaption></figure>
<p>A little different framework. As the documentation says, &#8221; Tailwind is different from frameworks like Bootstrap, Foundation, or Bulma in that it&#8217;s not a UI kit.&#8221;. Also, it doesn&#8217;t have built-in UI components. On the flip side, it also has no opinion about how your site should look and doesn&#8217;t impose design decisions that you have to fight to undo.</p>
<p>If you&#8217;re looking for a framework that comes with a menu of predesigned widgets to build your site with, Tailwind might not be the right framework for you. But if you want a vast head start implementing a custom design with its own identity, Tailwind might be just what you&#8217;re looking for.</p>
<h3>How does it work then?</h3>
<p>It&#8217;s pretty simple. It has a lot of classes that you can call utility. You combine those classes and make something fresh like navigation or button.</p>
<h2>Primercss</h2>
<figure id="attachment_13649" aria-describedby="caption-attachment-13649" style="width: 726px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/11/Primer-CSS-Framework.jpg"><img loading="lazy" decoding="async" class="wp-image-13649 size-full" src="https://www.technig.com/wp-content/uploads/2017/11/Primer-CSS-Framework.jpg" alt="The Primer - CSS Framework" width="726" height="499" srcset="https://www.technig.com/wp-content/uploads/2017/11/Primer-CSS-Framework.jpg 726w, https://www.technig.com/wp-content/uploads/2017/11/Primer-CSS-Framework-300x206.jpg 300w" sizes="(max-width: 726px) 100vw, 726px" /></a><figcaption id="caption-attachment-13649" class="wp-caption-text">The Primer &#8211; CSS Framework</figcaption></figure>
<p>Do you like Github design? Well, this framework by Github team with Github design styles. Primer is the basecoat of GitHub, made by nerds just like you who share a passion for HTML and CSS. Besides, it&#8217;s open-source and free under MIT license. Also, it Includes a small Gruntfile for compiling our SCSS, Autoprefixer for vendor prefixes, and Parker for CSS stats.</p>
<p>It has everything and every feature you see on Github.</p>
<h2>Bulma</h2>
<figure id="attachment_13647" aria-describedby="caption-attachment-13647" style="width: 640px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/11/Bulma-a-modern-CSS-framework-based-on-Flexbox-1.png"><img loading="lazy" decoding="async" class="wp-image-13647 size-full" src="https://www.technig.com/wp-content/uploads/2017/11/Bulma-a-modern-CSS-framework-based-on-Flexbox-1.png" alt="Bulma - a modern CSS framework based on Flexbox" width="640" height="160" srcset="https://www.technig.com/wp-content/uploads/2017/11/Bulma-a-modern-CSS-framework-based-on-Flexbox-1.png 640w, https://www.technig.com/wp-content/uploads/2017/11/Bulma-a-modern-CSS-framework-based-on-Flexbox-1-300x75.png 300w" sizes="(max-width: 640px) 100vw, 640px" /></a><figcaption id="caption-attachment-13647" class="wp-caption-text">The Bulma &#8211; a modern CSS framework based on Flexbox</figcaption></figure>
<p>Bulma is a free and open-source CSS framework based on Flexbox. If you know about Flexbox in CSS3, you see how beautiful it is. So, Bulma is a clean, fast, creative and inspiring CSS Framework.  It&#8217;s an alternative to <a href="https://www.technig.com/bootstrap-4-buttons-complete-guide/">Bootstrap </a>Framework.</p>
<p>There is no JavaScript included in Bulma. People want to use their own JS implementation. Therefore, Bulma can be considered &#8220;environment agnostic&#8221;: it&#8217;s just the style layer on top of the logic.</p>
<h3>Browser Support</h3>
<p>Bulma uses Autoprefixer to make (most) Flexbox features compatible with earlier browser versions. According to Can I use, Bulma is compatible with recent versions of:</p>
<ul style="list-style-type: circle;">
<li>Chrome</li>
<li>Edge</li>
<li>Firefox</li>
<li>Opera</li>
<li>Safari</li>
</ul>
<p>Internet Explorer (10+) is only partially supported since it uses <a href="https://www.technig.com/tag/css3/">CSS3 </a>features.</p>
<h2>Vuetify</h2>
<figure id="attachment_13654" aria-describedby="caption-attachment-13654" style="width: 1024px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/11/vuetifyjs-Vue.js-2-Material-Component-Framework.png"><img loading="lazy" decoding="async" class="wp-image-13654 size-large" src="https://www.technig.com/wp-content/uploads/2017/11/vuetifyjs-Vue.js-2-Material-Component-Framework-1024x430.png" alt="Vuetifyjs - Vue.js 2 Material Component Framework" width="1024" height="430" srcset="https://www.technig.com/wp-content/uploads/2017/11/vuetifyjs-Vue.js-2-Material-Component-Framework-1024x430.png 1024w, https://www.technig.com/wp-content/uploads/2017/11/vuetifyjs-Vue.js-2-Material-Component-Framework-300x126.png 300w, https://www.technig.com/wp-content/uploads/2017/11/vuetifyjs-Vue.js-2-Material-Component-Framework-768x323.png 768w, https://www.technig.com/wp-content/uploads/2017/11/vuetifyjs-Vue.js-2-Material-Component-Framework.png 1256w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption id="caption-attachment-13654" class="wp-caption-text">The Vuetifyjs &#8211; Vue.js 2 Material Component Framework</figcaption></figure>
<p>This one doesn&#8217;t look like a CSS framework, but it does the same thing that other CSS frameworks do. If you know about Vuejs, this CSS framework seems familiar to you. Additionally, it requires Vuejs knowledge. Also, Vuetify helped you create a fantastic application. The Vuetify is built from the ground up to be semantic. Easy to learn.</p>
<h3>How does it work?</h3>
<p>It&#8217;s effortless to use. The way it works is like this; Vuetify is made of components. Those components are like custom HTML tags. Then, you use those tags and give some attributes. It will provide you with a sweet and beautiful element.</p>
<h2>GETUIkit</h2>
<figure id="attachment_13653" aria-describedby="caption-attachment-13653" style="width: 1024px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/11/UIkit-A-lightweight-and-modular-front-end-framework.jpg"><img loading="lazy" decoding="async" class="wp-image-13653 size-large" src="https://www.technig.com/wp-content/uploads/2017/11/UIkit-A-lightweight-and-modular-front-end-framework-1024x576.jpg" alt="UIkit - A lightweight and modular front-end framework" width="1024" height="576" srcset="https://www.technig.com/wp-content/uploads/2017/11/UIkit-A-lightweight-and-modular-front-end-framework-1024x576.jpg 1024w, https://www.technig.com/wp-content/uploads/2017/11/UIkit-A-lightweight-and-modular-front-end-framework-300x169.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/UIkit-A-lightweight-and-modular-front-end-framework-768x432.jpg 768w, https://www.technig.com/wp-content/uploads/2017/11/UIkit-A-lightweight-and-modular-front-end-framework.jpg 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption id="caption-attachment-13653" class="wp-caption-text">The UIkit &#8211; A lightweight and modular front-end framework</figcaption></figure>
<p>If you are looking for a lightweight and modular front-end framework for developing fast and powerful web interfaces, UIkit is for you. Besides, the design is so clean and creative. It&#8217;s like IOS design concept. So, if you want to develop a mobile application, it&#8217;s an excellent choice. It&#8217;s not the UIkit by Apple developer for IOS; it&#8217;s just a web designing framework. Also, it has clear documentation, and you start learning and using it now. You don&#8217;t need any extra knowledge to get started.</p>
<h2>PureCSS</h2>
<figure id="attachment_13650" aria-describedby="caption-attachment-13650" style="width: 838px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/11/Pure-CSS-Small-Pure-CSS-Framework.png"><img loading="lazy" decoding="async" class="wp-image-13650 size-full" src="https://www.technig.com/wp-content/uploads/2017/11/Pure-CSS-Small-Pure-CSS-Framework.png" alt="Pure CSS - Small Pure CSS Framework" width="838" height="145" srcset="https://www.technig.com/wp-content/uploads/2017/11/Pure-CSS-Small-Pure-CSS-Framework.png 838w, https://www.technig.com/wp-content/uploads/2017/11/Pure-CSS-Small-Pure-CSS-Framework-300x52.png 300w, https://www.technig.com/wp-content/uploads/2017/11/Pure-CSS-Small-Pure-CSS-Framework-768x133.png 768w" sizes="(max-width: 838px) 100vw, 838px" /></a><figcaption id="caption-attachment-13650" class="wp-caption-text">The Pure CSS &#8211; Small Pure CSS Framework</figcaption></figure>
<p>It&#8217;s a set of small, responsive CSS modules that you can use in every web project. Also, Pure is ridiculously only to use a subset of these modules and tiny. The entire collection of modules clocks in at 3.8KB minified and gzipped. Besides, it&#8217;s crafted with mobile devices in mind, it was necessary for us to keep our file sizes small, and every line of CSS was carefully considered. If you decide to only use a subset of these modules, you&#8217;ll save even more bytes.</p>
<p>If you are developing a custom web application, it&#8217;s an excellent starter framework. Because the size is too small and you can easily customise it for your self.</p>
<h2>Conclusion</h2>
<p>All in all, there are many other significant and popular CSS frameworks on the web, but these were also worth checking out. Most of this framework function as a great framework, it&#8217;s because no-one has used them and talked about them. Finally, we hope it has been informative for you.</p>
<p>The post <a href="https://www.technig.com/inspiring-css-frameworks/">7 Inspiring CSS Frameworks You Don&#8217;t Know About</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/inspiring-css-frameworks/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">13592</post-id>	</item>
		<item>
		<title>Top 7 Collections of CSS Preloader For Web Designer</title>
		<link>https://www.technig.com/css-preloader-web-designer/</link>
					<comments>https://www.technig.com/css-preloader-web-designer/#comments</comments>
		
		<dc:creator><![CDATA[Ezat]]></dc:creator>
		<pubDate>Fri, 20 Oct 2017 05:30:16 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[CSS Loader]]></category>
		<category><![CDATA[Css Preloader]]></category>
		<category><![CDATA[CSS Solution]]></category>
		<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[CSS3 Animations]]></category>
		<category><![CDATA[CSS3 transition]]></category>
		<category><![CDATA[Freelance Web Developer]]></category>
		<category><![CDATA[Small Business Web Design]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Designing]]></category>
		<category><![CDATA[Web Developer]]></category>
		<category><![CDATA[Web Development Courses]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=12475</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/10/CSS-Preloader-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="CSS Preloader -Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/10/CSS-Preloader-Technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/10/CSS-Preloader-Technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/10/CSS-Preloader-Technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>Almost these days if a website takes more than 5 seconds to load. So we don&#8217;t want wait or tend to not even waiting for it to open we simply close the page and find something else. That is definitely what designers are taking the time to come up with unusual and creative preloaders for websites. So if [&#8230;]</p>
<p>The post <a href="https://www.technig.com/css-preloader-web-designer/">Top 7 Collections of CSS Preloader For Web Designer</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/10/CSS-Preloader-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="CSS Preloader -Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/10/CSS-Preloader-Technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/10/CSS-Preloader-Technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/10/CSS-Preloader-Technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>Almost these days if a website takes more than 5 seconds to load. So we don&#8217;t want wait or tend to not even waiting for it to open we simply close the page and find something else. That is definitely what designers are taking the time to come up with unusual and creative preloaders for websites. So if you want to use a cool CSS preloader for your website, we have listed best preloaders for your site.</p>
<h2>What’s a CSS Preloader?</h2>
<p>The website without a CSS preloader somewhat looks unprofessional, Simply preloaders (loaders) is what you see on the screen while the rest of the page’s content is still loading. Preloaders are often simple animations that keep visitors entertained while server operations finish loading all data process.</p>
<h4>SpinKit – CSS loaders</h4>
<p>SpinKit is a collection of the fantastic and smooth loading spinner. This also includes 11 CSS Preloader that is ready-made for use, and you can just use them on your website.</p>
<figure id="attachment_12596" aria-describedby="caption-attachment-12596" style="width: 707px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2017/10/SpinKit-–-CSS-loaders-Technig-1.gif"><img loading="lazy" decoding="async" class="size-full wp-image-12596" src="http://3.90.216.52/wp-content/uploads/2017/10/SpinKit-–-CSS-loaders-Technig-1.gif" alt="SpinKit – CSS loaders -Technig" width="707" height="297" /></a><figcaption id="caption-attachment-12596" class="wp-caption-text">SpinKit – CSS loaders -Technig</figcaption></figure>
<h3>CSS Page Preload Animations by Simbyone</h3>
<p>So this is the largest collection of CSS Preloader animation you can use customize for your website. This also contains 30 preloaders with different style square spinners, round spinners.</p>
<figure id="attachment_12592" aria-describedby="caption-attachment-12592" style="width: 494px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2017/10/CSS-Page-Preload-Animations-by-Simbyone-Technig-.gif"><img loading="lazy" decoding="async" class="size-full wp-image-12592" src="http://3.90.216.52/wp-content/uploads/2017/10/CSS-Page-Preload-Animations-by-Simbyone-Technig-.gif" alt="CSS Page Preload Animations by Simbyone -Technig" width="494" height="304" /></a><figcaption id="caption-attachment-12592" class="wp-caption-text">CSS Page Preload Animations by Simbyone -Technig</figcaption></figure>
<h3>cssload.net</h3>
<p>CSSload is the best resource of stunning CSS loaders. It contains customizer that let you customize the color, size as well as the speed of the spinner. You get spinners, horizontal bars, 3d loaders and other CSS preloaders in the collection.</p>
<h3 class="content-banner__title nolinks">Collection of CSS3 Animated Pre-loaders by Aaron Lumsden</h3>
<p>In this collection of CSS Preloaders, you will get 6 amazing CSS Preloader. For sure you will like it with all clean HTML and CSS codes. Check it out here.</p>
<h3 id="pen-title" class="pen-title">Pure CSS Loaders kit By Viduthalai Mani</h3>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;JkhDK&#8221; default_tab=&#8221;result&#8221; user=&#8221;viduthalai1947&#8243;]See the Pen &lt;a href=&#8217;https://codepen.io/viduthalai1947/pen/JkhDK/&#8217;&gt;Pure CSS Loaders kit&lt;/a&gt; by Viduthalai Mani (&lt;a href=&#8217;https://codepen.io/viduthalai1947&#8242;&gt;@viduthalai1947&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3 id="pen-title" class="pen-title">Loaders (WIP) A PEN BY Tania LD</h3>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;oKxep&#8221; default_tab=&#8221;result&#8221; user=&#8221;TaniaLD&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/TaniaLD/pen/oKxep/&#8217;&gt;Loaders (WIP)&lt;/a&gt; by Tania LD (&lt;a href=&#8217;https://codepen.io/TaniaLD&#8217;&gt;@TaniaLD&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3 class="public">loaders.css</h3>
<p>So we come to the last one. This collection of loading animations written entirely in CSS also provide such a amazing animation. Delightful and performance-focused pure CSS loading animations.</p>
<figure id="attachment_12594" aria-describedby="caption-attachment-12594" style="width: 555px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2017/10/loaders.css-Technig.gif"><img loading="lazy" decoding="async" class="wp-image-12594" src="http://3.90.216.52/wp-content/uploads/2017/10/loaders.css-Technig.gif" alt="loaders.css -Technig" width="555" height="319" /></a><figcaption id="caption-attachment-12594" class="wp-caption-text">loaders.css -Technig</figcaption></figure>
<h2>Conclusion</h2>
<p>So these are the collection of best CSS Preloaders that you can use them for your website and blogs. We hope this was informative and useful for you. Also check out <a href="https://www.technig.com/12-css-loading-animation-business-web-design/" rel="noopener">12 Free CSS Loading Animation for Business Web Design</a>.</p>
<p>The post <a href="https://www.technig.com/css-preloader-web-designer/">Top 7 Collections of CSS Preloader For Web Designer</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/css-preloader-web-designer/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">12475</post-id>	</item>
		<item>
		<title>12 Free CSS Loading Animation for Business Web Design</title>
		<link>https://www.technig.com/12-css-loading-animation-business-web-design/</link>
					<comments>https://www.technig.com/12-css-loading-animation-business-web-design/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Sun, 15 Oct 2017 09:30:40 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[CSS Loader]]></category>
		<category><![CDATA[CSS Solution]]></category>
		<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[CSS3 Animations]]></category>
		<category><![CDATA[CSS3 transition]]></category>
		<category><![CDATA[Freelance Web Developer]]></category>
		<category><![CDATA[Small Business Web Design]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Designing]]></category>
		<category><![CDATA[Web Developer]]></category>
		<category><![CDATA[Web Development Courses]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=12133</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/10/12-Free-CSS-Loading-Animation-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="12 Free CSS Loading Animation - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/10/12-Free-CSS-Loading-Animation-Technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/10/12-Free-CSS-Loading-Animation-Technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/10/12-Free-CSS-Loading-Animation-Technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>The usage of pre-loader has become so popular in the past few years among web designer. Nowadays, most SPA or single page applications use a loader. Despite making your website look great, it makes it user-friendly and more appealing. So, in the past people used to use JavaScript to solve this problem. But now you [&#8230;]</p>
<p>The post <a href="https://www.technig.com/12-css-loading-animation-business-web-design/">12 Free CSS Loading Animation for Business Web Design</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/10/12-Free-CSS-Loading-Animation-Technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="12 Free CSS Loading Animation - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/10/12-Free-CSS-Loading-Animation-Technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/10/12-Free-CSS-Loading-Animation-Technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/10/12-Free-CSS-Loading-Animation-Technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>The usage of pre-loader has become so popular in the past few years among web designer. Nowadays, most SPA or single page applications use a loader. Despite making your website look great, it makes it user-friendly and more appealing. So, in the past people used to use JavaScript to solve this problem. But now you can use pure CSS3. Moreover, we have collected 12 best free CSS loading animation for you. Also, this CSS Loaders are creatively designed and look inspiring. Some of these loading animations use JavaScript as well.</p>
<h2>CSS Loading Animation</h2>
<p>If you still don&#8217;t know what&#8217;s CSS loader, it&#8217;s just an animated shapes that show before a page completely load. When you send an HTTP request to a website, they mostly take a while to download all the JavaScript, CSS, and images. So, until it completely downloads all of those, it will show the animated loader.</p>
<figure id="attachment_12137" aria-describedby="caption-attachment-12137" style="width: 534px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2017/10/CSS-pre-loader-example.gif"><img loading="lazy" decoding="async" class="wp-image-12137" src="http://3.90.216.52/wp-content/uploads/2017/10/CSS-pre-loader-example.gif" alt="CSS pre-loader example" width="534" height="401" /></a><figcaption id="caption-attachment-12137" class="wp-caption-text">CSS pre-loader example</figcaption></figure>
<p>So, I hope now you know what&#8217;s CSS loader.</p>
<h3>1. Spinners &amp; Page Loaders Pure CSS by Anya Melnyk</h3>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;QvBQPb&#8221; default_tab=&#8221;result&#8221; user=&#8221;slyka85&#8243;]See the Pen &lt;a href=&#8217;https://codepen.io/slyka85/pen/QvBQPb/&#8217;&gt;Spinners &amp; Page Loaders Pure CSS&lt;/a&gt; by Anya Melnyk (&lt;a href=&#8217;https://codepen.io/slyka85&#8242;&gt;@slyka85&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3>2. CSS Loader by Justin Tan</h3>
<p>[codepen_embed height=&#8221;305&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;bRjRdo&#8221; default_tab=&#8221;result&#8221; user=&#8221;justintan&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/justintan/pen/bRjRdo/&#8217;&gt;css loader&lt;/a&gt; by Justin Tan (&lt;a href=&#8217;https://codepen.io/justintan&#8217;&gt;@justintan&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3>3. Loading Animation by John Heiner</h3>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;BNLzbJ&#8221; default_tab=&#8221;result&#8221; user=&#8221;johnheiner&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/johnheiner/pen/BNLzbJ/&#8217;&gt;Loading Animation&lt;/a&gt; by John Heiner (&lt;a href=&#8217;https://codepen.io/johnheiner&#8217;&gt;@johnheiner&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3>4. Animated CSS loader by Tommie Hansen</h3>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;zzayLE&#8221; default_tab=&#8221;result&#8221; user=&#8221;tommiehansen&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/tommiehansen/pen/zzayLE/&#8217;&gt;Animated CSS loader&lt;/a&gt; by Tommie Hansen (&lt;a href=&#8217;https://codepen.io/tommiehansen&#8217;&gt;@tommiehansen&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3>5. Loader by Alexandr Izumenko</h3>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;KvrKqb&#8221; default_tab=&#8221;result&#8221; user=&#8221;Izumenko&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/Izumenko/pen/KvrKqb/&#8217;&gt;Loader&lt;/a&gt; by Alexandr Izumenko (&lt;a href=&#8217;https://codepen.io/Izumenko&#8217;&gt;@Izumenko&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3>6. Spin one div by Pavel</h3>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;VWxpgJ&#8221; default_tab=&#8221;result&#8221; user=&#8221;pavelivanov&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/pavelivanov/pen/VWxpgJ/&#8217;&gt;Spin one div&lt;/a&gt; by Pavel (&lt;a href=&#8217;https://codepen.io/pavelivanov&#8217;&gt;@pavelivanov&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3>7. Glitchy Loading Indicator by  Jack Rugile</h3>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;bjuCf&#8221; default_tab=&#8221;result&#8221; user=&#8221;jackrugile&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/jackrugile/pen/bjuCf/&#8217;&gt;Glitchy Loading Indicator&lt;/a&gt; by Jack Rugile (&lt;a href=&#8217;https://codepen.io/jackrugile&#8217;&gt;@jackrugile&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3>8. Redirecting Loader by Mr Alien</h3>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;FDLjg&#8221; default_tab=&#8221;result&#8221; user=&#8221;mr_alien&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/mr_alien/pen/FDLjg/&#8217;&gt;Redirecting Loader&lt;/a&gt; by Mr Alien (&lt;a href=&#8217;https://codepen.io/mr_alien&#8217;&gt;@mr_alien&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3>9. Loader #6 &#8211; Jelly Box by Fabrizio Bianchi</h3>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;mpiFE&#8221; default_tab=&#8221;result&#8221; user=&#8221;fbrz&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/fbrz/pen/mpiFE/&#8217;&gt;Loader #6 &#8211; Jelly Box&lt;/a&gt; by Fabrizio Bianchi (&lt;a href=&#8217;https://codepen.io/fbrz&#8217;&gt;@fbrz&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3>10. Loaders by MC</h3>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;eWQEWe&#8221; default_tab=&#8221;result&#8221; user=&#8221;munya98&#8243;]See the Pen &lt;a href=&#8217;https://codepen.io/munya98/pen/eWQEWe/&#8217;&gt;Loaders&lt;/a&gt; by MC (&lt;a href=&#8217;https://codepen.io/munya98&#8242;&gt;@munya98&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3>11. Goo Loader by  Elior Tabeka</h3>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;EXJyPP&#8221; default_tab=&#8221;result&#8221; user=&#8221;eliortabeka&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/eliortabeka/pen/EXJyPP/&#8217;&gt;Goo Loader&lt;/a&gt; by Elior Tabeka (&lt;a href=&#8217;https://codepen.io/eliortabeka&#8217;&gt;@eliortabeka&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3>12. Speedometer CSS3 loader by Creativity</h3>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;myMNdR&#8221; default_tab=&#8221;result&#8221; user=&#8221;Creativity&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/Creativity/pen/myMNdR/&#8217;&gt;Speedometer CSS3 loader&lt;/a&gt; by Creativity (&lt;a href=&#8217;https://codepen.io/Creativity&#8217;&gt;@Creativity&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3>Conclusion</h3>
<p>CSS loading animation make your website and web applications brilliant. Also, they make the website more user friendly. So, next time be sure to use of this in your projects. Further, did you know you can ask any kind of questions on our forum and get instant answer. So, join us now.</p>
<p>The post <a href="https://www.technig.com/12-css-loading-animation-business-web-design/">12 Free CSS Loading Animation for Business Web Design</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/12-css-loading-animation-business-web-design/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">12133</post-id>	</item>
		<item>
		<title>How to Use Laravel Mix without Laravel Step by Step</title>
		<link>https://www.technig.com/use-laravel-mix-without-laravel/</link>
					<comments>https://www.technig.com/use-laravel-mix-without-laravel/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Thu, 12 Oct 2017 09:30:08 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[CSS Solution]]></category>
		<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Laravel Tutorials]]></category>
		<category><![CDATA[Nodejs]]></category>
		<category><![CDATA[NPM Package]]></category>
		<category><![CDATA[Small Business Web Design]]></category>
		<category><![CDATA[Web Designing]]></category>
		<category><![CDATA[Web Developer]]></category>
		<category><![CDATA[Web Development Company]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=11966</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/10/How-to-Use-Laravel-Mix-without-Laravel.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="How to Use Laravel Mix without Laravel - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/10/How-to-Use-Laravel-Mix-without-Laravel.jpg 840w, https://www.technig.com/wp-content/uploads/2017/10/How-to-Use-Laravel-Mix-without-Laravel-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/10/How-to-Use-Laravel-Mix-without-Laravel-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>Laravel Mix is a powerful tool and NPM package. So, using Laravel Mix, you can compile sass, scss files, Vuejs files and ES6 features. Also, it&#8217;s fast and easy to start using. Besides, you can easily customizer Laravel Mix for your project. So, in this tutorial, you&#8217;ll learn how to use Laravel Mix without Laravel [&#8230;]</p>
<p>The post <a href="https://www.technig.com/use-laravel-mix-without-laravel/">How to Use Laravel Mix without Laravel Step by Step</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/10/How-to-Use-Laravel-Mix-without-Laravel.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="How to Use Laravel Mix without Laravel - Technig" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/10/How-to-Use-Laravel-Mix-without-Laravel.jpg 840w, https://www.technig.com/wp-content/uploads/2017/10/How-to-Use-Laravel-Mix-without-Laravel-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/10/How-to-Use-Laravel-Mix-without-Laravel-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>Laravel Mix is a powerful tool and NPM package. So, using Laravel Mix, you can compile sass, scss files, Vuejs files and ES6 features. Also, it&#8217;s fast and easy to start using. Besides, you can easily customizer Laravel Mix for your project. So, in this tutorial, you&#8217;ll learn how to use Laravel Mix without Laravel project. The latest version of Laravel projects has pre-install Laravel Mix.</p>
<h2>Use Laravel Mix without Laravel Step by Step</h2>
<p>We are going to do everything step by step on how you can use Laravel Mix without Laravel, so you will not miss anything.</p>
<p><strong>Requirements:</strong></p>
<p>We require the following criteria. If you want to follow the tutorial to make sure you have the NPM and Nodejs installed on your system. If you don&#8217;t have installed those, then go to <a href="https://nodejs.org/" rel="noopener">nodejs.org</a>, download and install. It will not take more than 2 minutes. Besides, you must have basic knowledge of NPM usage.</p>
<h3>1. Create a Project</h3>
<p>Simply, create a folder anywhere on your computer. Then run the following command to initialize NPM files.</p>
<pre class="lang:default decode:true">npm init -y</pre>
<p>The command creates a package.Json file in your folder with simple boilerplate. <strong>Then</strong>, open your project in your favorite text editor.</p>
<h3>2. Install NPM Packages</h3>
<p>Now, let&#8217;s install a few NPM package plus Laravel Mix. <strong>So</strong>, we&#8217;re going to install all of them at once. To do so, list your packages name in your package.json file.</p>
<p>So, open your <strong>package.json</strong> file and add the following code. We will install a few essential packages.</p>
<pre class="theme:sublime-text lang:java decode:true">{
  "name": "laravel-mix",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
        "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
        "watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
        "watch-poll": "npm run watch -- --watch-poll",
        "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
        "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
    },
    "devDependencies": {
        "laravel-mix": "^1.0",
        "bootstrap-sass": "^3.3.7",
        "cross-env": "^5.0.1",
        "jquery": "^3.1.1",
        "vue": "^2.1.10"
  },

  "keywords": [],
  "author": "",
  "license": "ISC"
}
</pre>
<p>So, your<strong> package.json</strong> file should look like the above. The <strong>devDependencies</strong> part is the list of packages we want to install. So, run now <strong>run</strong> the following command in your command line to download the packages.</p>
<pre class="lang:default decode:true">npm install</pre>
<p>It will take a while to install the packages, so be patient. So, after installing completed, continue the next step.</p>
<h3>3. Configure the Laravel Mix Files</h3>
<p>After installing the packages, now you can start creating Laravel mix files.</p>
<p>You go to &#8220;<span style="background-color: #c2c2c2;"><em>node_modules/laravel-mix/setup/webpack.mix.js&#8221;</em></span> and copy the <strong>webpack.mix.js</strong> file to the root directory of your project. Also, you can create the file yourself and add the following code inside.</p>
<p><strong>webpack.mix.js</strong></p>
<pre class="theme:sublime-text lang:js decode:true">let mix = require('laravel-mix');

mix.js('src/app.js', 'dist/')
   .sass('src/app.scss', 'dist/');</pre>
<p>The above just require Laravel mix, then look in &#8220;<strong>src/app.js</strong>&#8221; and compile to &#8220;<strong>dist/</strong>&#8221; folder. So, we need the create those files.</p>
<figure id="attachment_11973" aria-describedby="caption-attachment-11973" style="width: 660px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2017/10/Laravel-Mix-Folder-Structure.png"><img loading="lazy" decoding="async" class="wp-image-11973" src="http://3.90.216.52/wp-content/uploads/2017/10/Laravel-Mix-Folder-Structure.png" alt="Laravel Mix Folder Structure" width="660" height="306" srcset="https://www.technig.com/wp-content/uploads/2017/10/Laravel-Mix-Folder-Structure.png 731w, https://www.technig.com/wp-content/uploads/2017/10/Laravel-Mix-Folder-Structure-300x139.png 300w" sizes="(max-width: 660px) 100vw, 660px" /></a><figcaption id="caption-attachment-11973" class="wp-caption-text">Laravel Mix Folder Structure</figcaption></figure>
<h3>4. Add Code to Compile</h3>
<p>Now let&#8217;s add some code our <strong>app.js</strong> file to compile and test if everything is working.</p>
<p>So, add the following code in your app.js file. It&#8217;s just for the demo, of course, you can add any code you want.</p>
<pre class="theme:sublime-text lang:js decode:true">window.$ = window.jQuery = require('jquery');
require('bootstrap-sass');

</pre>
<p>The code will add jQuery and bootstrap file.</p>
<p><strong>Now</strong>, open your command line and run the following code.</p>
<pre class="lang:default decode:true">npm run production</pre>
<p>The <strong><em>production</em> </strong>and other command list are written in<strong> the package.Json</strong> file.</p>
<p>For me, the compilation starts and go till 95%. Then it stopped.</p>
<figure id="attachment_11976" aria-describedby="caption-attachment-11976" style="width: 525px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2017/10/Laravel-mix-stop-at-emitting.png"><img loading="lazy" decoding="async" class="wp-image-11976" src="http://3.90.216.52/wp-content/uploads/2017/10/Laravel-mix-stop-at-emitting.png" alt="Laravel mix stop at emitting" width="525" height="215" srcset="https://www.technig.com/wp-content/uploads/2017/10/Laravel-mix-stop-at-emitting.png 872w, https://www.technig.com/wp-content/uploads/2017/10/Laravel-mix-stop-at-emitting-300x123.png 300w, https://www.technig.com/wp-content/uploads/2017/10/Laravel-mix-stop-at-emitting-768x314.png 768w" sizes="(max-width: 525px) 100vw, 525px" /></a><figcaption id="caption-attachment-11976" class="wp-caption-text">Laravel mix stop at emitting</figcaption></figure>
<p>It&#8217;s not going further. So, there must be a problem.</p>
<h2>5. How to Fix Laravel Mix 95% emitting Stop Problem</h2>
<p>So, let&#8217;s fix it. Before doing that, you know know what&#8217;s the problem. Thus, it can&#8217;t find the public folder or where to compile the files. Here is how you fix it.</p>
<p>Open your <strong>webpack.mix.js</strong> file and add the following code<strong> right after</strong> you require Laravel Mix.</p>
<pre class="theme:sublime-text lang:js decode:true">mix.options({
    publicPath: 'dist'
})
</pre>
<p>Now, terminate the emitting process by pressing Ctrl + C two times and re-run the production command. It should work now.</p>
<h3>Conclusion</h3>
<p>We hope this article has been informative for you and you enjoyed reading. So, it&#8217; how you can use Laravel Mix without Laravel. Further, we have a forum where you can ask any types of questions and get instant answers. So, feel free to join us.</p>
<p>The post <a href="https://www.technig.com/use-laravel-mix-without-laravel/">How to Use Laravel Mix without Laravel Step by Step</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/use-laravel-mix-without-laravel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">11966</post-id>	</item>
		<item>
		<title>Configure Laravel 5.5 with Bootstrap 4</title>
		<link>https://www.technig.com/configure-laravel-5-5-with-bootstrap-4/</link>
					<comments>https://www.technig.com/configure-laravel-5-5-with-bootstrap-4/#comments</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Sat, 09 Sep 2017 09:30:11 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[CSS Frameworks]]></category>
		<category><![CDATA[CSS Solution]]></category>
		<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Laravel 5]]></category>
		<category><![CDATA[Laravel Framework]]></category>
		<category><![CDATA[laravel tutorial]]></category>
		<category><![CDATA[PHP framework]]></category>
		<category><![CDATA[twitter bootstrap]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=10448</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="640" height="480" src="https://www.technig.com/wp-content/uploads/2017/09/how-to-configure-laravel-5.5-with-bootstrap-4.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="how to configure laravel 5 5 with bootstrap 4" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/09/how-to-configure-laravel-5.5-with-bootstrap-4.jpg 640w, https://www.technig.com/wp-content/uploads/2017/09/how-to-configure-laravel-5.5-with-bootstrap-4-300x225.jpg 300w, https://www.technig.com/wp-content/uploads/2017/09/how-to-configure-laravel-5.5-with-bootstrap-4-86x64.jpg 86w" sizes="(max-width: 640px) 100vw, 640px" /></div>
<p>Finally, Bootstrap 4 has come with a lot of amazing features.  Meanwhile, Laravel 5.5 with LTS version has also released. Laravel 5.5 by default comes with bootstrap version 3. In this article, you will learn how to configure Laravel 5 5 with Bootstrap 4 step by step. Configure Laravel 5 5 with Bootstrap 4 Step [&#8230;]</p>
<p>The post <a href="https://www.technig.com/configure-laravel-5-5-with-bootstrap-4/">Configure Laravel 5.5 with Bootstrap 4</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="640" height="480" src="https://www.technig.com/wp-content/uploads/2017/09/how-to-configure-laravel-5.5-with-bootstrap-4.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="how to configure laravel 5 5 with bootstrap 4" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/09/how-to-configure-laravel-5.5-with-bootstrap-4.jpg 640w, https://www.technig.com/wp-content/uploads/2017/09/how-to-configure-laravel-5.5-with-bootstrap-4-300x225.jpg 300w, https://www.technig.com/wp-content/uploads/2017/09/how-to-configure-laravel-5.5-with-bootstrap-4-86x64.jpg 86w" sizes="(max-width: 640px) 100vw, 640px" /></div><p>Finally, <a href="http://getbootstrap.com/" rel="noopener">Bootstrap 4</a> has come with a lot of amazing features.  Meanwhile, Laravel 5.5 with LTS version has also released. Laravel 5.5 by default comes with bootstrap version 3. In this article, you will learn how to configure Laravel 5 5 with Bootstrap 4 step by step.</p>
<h2>Configure Laravel 5 5 with Bootstrap 4</h2>
<p><strong>Step 1. </strong>Create a new Laravel project. You can use Laravel install or composer installer. If you have any trouble with installation or configuration of Laravel, We recommend you to read our<a href="https://www.technig.com/install-laravel-5-using-laravel-installer/"> Laravel tutorials</a> first.</p>
<pre class="lang:php decode:true">laravel new App</pre>
<p><strong>Step 2. </strong>Now let&#8217;s install bootstrap 4 and npm dependencies. By default, Laravel will download bootstrap 3. You can find it in your package.json file.</p>
<figure id="attachment_10454" aria-describedby="caption-attachment-10454" style="width: 611px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2017/09/npm-packages-for-laravel-5.5.png"><img loading="lazy" decoding="async" class="wp-image-10454" src="http://3.90.216.52/wp-content/uploads/2017/09/npm-packages-for-laravel-5.5.png" alt="npm packages for laravel 5.5" width="611" height="329" srcset="https://www.technig.com/wp-content/uploads/2017/09/npm-packages-for-laravel-5.5.png 957w, https://www.technig.com/wp-content/uploads/2017/09/npm-packages-for-laravel-5.5-300x162.png 300w, https://www.technig.com/wp-content/uploads/2017/09/npm-packages-for-laravel-5.5-768x414.png 768w" sizes="(max-width: 611px) 100vw, 611px" /></a><figcaption id="caption-attachment-10454" class="wp-caption-text">npm packages for Laravel 5.5</figcaption></figure>
<p>Open your cmd or terminal and run the<span style="background-color: #d6d6d6;"><em> npm install</em> </span>command to install the above dependencies. Make sure you are in the application directory.</p>
<figure id="attachment_10455" aria-describedby="caption-attachment-10455" style="width: 633px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2017/09/npm-install-command.png"><img loading="lazy" decoding="async" class="wp-image-10455" src="http://3.90.216.52/wp-content/uploads/2017/09/npm-install-command.png" alt="npm install command" width="633" height="146" srcset="https://www.technig.com/wp-content/uploads/2017/09/npm-install-command.png 893w, https://www.technig.com/wp-content/uploads/2017/09/npm-install-command-300x69.png 300w, https://www.technig.com/wp-content/uploads/2017/09/npm-install-command-768x177.png 768w" sizes="(max-width: 633px) 100vw, 633px" /></a><figcaption id="caption-attachment-10455" class="wp-caption-text">npm install command</figcaption></figure>
<p><strong>Step 3. </strong>Once npm dependencies installed successfully, let&#8217;s install bootstrap 4. Run the following command.</p>
<pre class="lang:sh decode:true">npm install bootstrap@4.0.0-beta</pre>
<p>It will install bootstrap 4 beta version. Now inside your node_moduls folder, you have two folders for bootstrap files.</p>
<figure id="attachment_10456" aria-describedby="caption-attachment-10456" style="width: 467px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2017/09/bootstap-4-and-3-directories.png"><img loading="lazy" decoding="async" class="size-full wp-image-10456" src="http://3.90.216.52/wp-content/uploads/2017/09/bootstap-4-and-3-directories.png" alt="bootstrap 4 and 3 directories" width="467" height="135" srcset="https://www.technig.com/wp-content/uploads/2017/09/bootstap-4-and-3-directories.png 467w, https://www.technig.com/wp-content/uploads/2017/09/bootstap-4-and-3-directories-300x87.png 300w" sizes="(max-width: 467px) 100vw, 467px" /></a><figcaption id="caption-attachment-10456" class="wp-caption-text">Bootstrap 4 and 3 directories</figcaption></figure>
<p>The first one is bootstrap 4 files.</p>
<p><strong>Step 4. </strong>It&#8217;s time to configure the CSS and JavaScript files. You can set all of this configuration in the<em><span style="background-color: #cfcfcf;"> resources/assets</span> </em>directory.</p>
<p>First, let&#8217;s see what changes we can bring to CSS files. Open the sass/app.scss. You file must look like this.</p>
<pre class="theme:sublime-text lang:css decode:true">// Fonts
@import url("https://fonts.googleapis.com/css?family=Raleway:300,400,600");

// Variables
@import "variables";

// Bootstrap
@import "~bootstrap-sass/assets/stylesheets/bootstrap";
</pre>
<p>It&#8217;s importing fonts, variables from _variables.scss and bootstrap 3 from node_modules. Now we must point the bootstrap to version 4. You can do it like this.</p>
<pre class="theme:sublime-text lang:css decode:true">// Bootstrap
@import "node_modules/bootstrap/scss/bootstrap";
</pre>
<p>The last changes for CSS files are to open _variables.scss file and change the px values to rem. It&#8217;s because bootstrap 4 is not supporting px value anymore.</p>
<figure id="attachment_10458" aria-describedby="caption-attachment-10458" style="width: 636px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2017/09/bootstrap-px-to-rem.png"><img loading="lazy" decoding="async" class="size-full wp-image-10458" src="http://3.90.216.52/wp-content/uploads/2017/09/bootstrap-px-to-rem.png" alt="bootstrap px to rem" width="636" height="134" srcset="https://www.technig.com/wp-content/uploads/2017/09/bootstrap-px-to-rem.png 636w, https://www.technig.com/wp-content/uploads/2017/09/bootstrap-px-to-rem-300x63.png 300w" sizes="(max-width: 636px) 100vw, 636px" /></a><figcaption id="caption-attachment-10458" class="wp-caption-text">Bootstrap px to rem</figcaption></figure>
<p>Now open your js/bootstrap.js file.</p>
<figure id="attachment_10459" aria-describedby="caption-attachment-10459" style="width: 586px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2017/09/bootstrap-4-and-laravel-files.png"><img loading="lazy" decoding="async" class="wp-image-10459" src="http://3.90.216.52/wp-content/uploads/2017/09/bootstrap-4-and-laravel-files.png" alt="bootstrap 4 and laravel files" width="586" height="254" srcset="https://www.technig.com/wp-content/uploads/2017/09/bootstrap-4-and-laravel-files.png 873w, https://www.technig.com/wp-content/uploads/2017/09/bootstrap-4-and-laravel-files-300x130.png 300w, https://www.technig.com/wp-content/uploads/2017/09/bootstrap-4-and-laravel-files-768x333.png 768w" sizes="(max-width: 586px) 100vw, 586px" /></a><figcaption id="caption-attachment-10459" class="wp-caption-text">Bootstrap 4 and Laravel files</figcaption></figure>
<p>Just change the bootstrap-sass to bootstrap.</p>
<pre class="theme:sublime-text lang:default decode:true"> require('bootstrap');</pre>
<p>Now you are done.</p>
<p><strong>Step 5. </strong>Open your cmd again and run the following command to compile down the bootstrap 4 files successfully.</p>
<pre class="lang:default decode:true">npm run production</pre>
<p>It will compile down all the JavaScript and CSS files to public/CSS and js directory.</p>
<p>Here is the list of other commands. Th production command will minify the code as well.</p>
<figure id="attachment_10460" aria-describedby="caption-attachment-10460" style="width: 614px" class="wp-caption aligncenter"><a href="http://3.90.216.52/wp-content/uploads/2017/09/npm-command-list.png"><img loading="lazy" decoding="async" class="wp-image-10460" src="http://3.90.216.52/wp-content/uploads/2017/09/npm-command-list.png" alt="npm command list" width="614" height="186" srcset="https://www.technig.com/wp-content/uploads/2017/09/npm-command-list.png 956w, https://www.technig.com/wp-content/uploads/2017/09/npm-command-list-300x91.png 300w, https://www.technig.com/wp-content/uploads/2017/09/npm-command-list-768x233.png 768w" sizes="(max-width: 614px) 100vw, 614px" /></a><figcaption id="caption-attachment-10460" class="wp-caption-text">npm command list</figcaption></figure>
<p>Now you have configured Laravel 5 5 with bootstrap 4. If you view your Laravel app, everything is broken. It&#8217;s because bootstrap team rewrote the bootstrap 4. Everything has changed. Read the <a href="http://getbootstrap.com">documentation </a>to see what has changed.</p>
<h2>Conclusion</h2>
<p>Bootstrap 4 browser support is not very good. For Internet Explorer version, it should be 10+, and other browsers with the latest version will be supported. If you have any issue, feel free to comment it below.</p>
<p>The post <a href="https://www.technig.com/configure-laravel-5-5-with-bootstrap-4/">Configure Laravel 5.5 with Bootstrap 4</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/configure-laravel-5-5-with-bootstrap-4/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10448</post-id>	</item>
		<item>
		<title>How to Add CSS Preloader to Your Website?</title>
		<link>https://www.technig.com/add-css-preloader-website/</link>
					<comments>https://www.technig.com/add-css-preloader-website/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Tue, 14 Mar 2017 17:07:11 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[CSS Solution]]></category>
		<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Web Designing]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=9275</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="800" height="600" src="https://www.technig.com/wp-content/uploads/2017/03/how-to-create-css-preloader.gif" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="how to add css preloader" decoding="async" loading="lazy" /></div>
<p>Pre-loader is one of the must-have features that you should add to your site. It makes your site load smooth and makes it more user-friendly. Especially when you have a lot of images and JavaScript files and your site load unlovely. This tutorial will teach you to step by step how to add CSS preloader [&#8230;]</p>
<p>The post <a href="https://www.technig.com/add-css-preloader-website/">How to Add CSS Preloader to Your Website?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="800" height="600" src="https://www.technig.com/wp-content/uploads/2017/03/how-to-create-css-preloader.gif" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="how to add css preloader" decoding="async" loading="lazy" /></div><p>Pre-loader is one of the must-have features that you should add to your site. It makes your site load smooth and makes it more user-friendly. Especially when you have a lot of images and JavaScript files and your site load unlovely. This tutorial will teach you to step by step how to add CSS preloader to your site.</p>
<h2>What&#8217;s Preloader?</h2>
<p>If you still don&#8217;t know what preloader is! It&#8217;s just a simple animated image or icon or a svg vector that shows on your site before your site completely load. You might have seen many examples before and here is how it looks</p>
<p>[codepen_embed height=&#8221;320&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;JkhDK&#8221; default_tab=&#8221;result&#8221; user=&#8221;viduthalai1947&#8243;]See the Pen &lt;a href=&#8217;http://codepen.io/viduthalai1947/pen/JkhDK/&#8217;&gt;Pure CSS Loaders kit&lt;/a&gt; by Viduthalai Mani (&lt;a href=&#8217;http://codepen.io/viduthalai1947&#8242;&gt;@viduthalai1947&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h2>How to Add CSS Preloader to Your Site?</h2>
<p>Now is the time to learn how to create and add a preloader to our website. There are many ways that you can create a preloader. For instance, a preloader can be an image; it can be an icon; it can be an SVG vector or a CSS created icon. When you use an image, it will load a little slower, and we recommend you to use SVG or CSS preloaders. So, in this tutorial, we will use CSS preloader.</p>
<blockquote><p><em><a href="http://twitter.com/tobiasahlin">@tobiasahlin</a> have created a collection of animated preloader with css that you use in your project. You can find the github repository <a href="https://github.com/tobiasahlin/SpinKit">here</a>. </em></p></blockquote>
<h3>Step 1</h3>
<p>Let&#8217;s start by creating the HMTL markup. Here is simple HTML markup.</p>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;qrjezg&#8221; default_tab=&#8221;html&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/qrjezg/&#8217;&gt;Simple CSS Preloader&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<div id="preloader"></div>
<h3>Step 2</h3>
<p>Create a separate file for your CSS or add the style tag in the header. We will use one of the Tobias ah lin&#8217;s CSS preloader. Once you learn how to use one, you will be able to use other preloaders as well.</p>
<pre class="theme:sublime-text lang:css decode:true">#preloader {
     position: fixed;
     left: 0;
     top: 0;
     z-index: 9999;
     width: 100%;
     height: 100%;
     overflow: visible;
     background: #e91e63;
     display: flex;
     justify-content: center;
     align-items: center;
 }

.spinner {
  width: 40px;
  height: 40px;
  background-color: #333;

  margin: 100px auto;
  -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
  animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
  0% { -webkit-transform: perspective(120px) }
  50% { -webkit-transform: perspective(120px) rotateY(180deg) }
  100% { -webkit-transform: perspective(120px) rotateY(180deg)  rotateX(180deg) }
}

@keyframes sk-rotateplane {
  0% { 
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg) 
  } 50% { 
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) 
  } 100% { 
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}</pre>
<p>&nbsp;</p>
<h3>Step 3</h3>
<p>Finally, add the JavaScript code. This code will hide the preloader whenever everything in your site load. We will use jQuery to detect if the document is loaded completely.</p>
<pre class="theme:sublime-text lang:js decode:true"> $(document).ready(function($) {
        // hide preloader when everthing in the document load
        $('#preloader').css('display', 'none');
 });</pre>
<h3>Final Step</h3>
<p>Now let&#8217;s put all of them together and see how it looks. We have created a pin on codepen.io that you can use.</p>
<p>[codepen_embed height=&#8221;265&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;qrjezg&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/qrjezg/&#8217;&gt;Simple CSS Preloader&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<blockquote><p><em>It look&#8217;s so fast if you have a fast internet connection. But I will work just fine in your site with contents. </em></p></blockquote>
<h2>Conclusion</h2>
<p>I hope it has been informative for you. If you have any questions regarding how to add CSS preloader, feel free to ask it bellow in the comments. 🙂</p>
<p>The post <a href="https://www.technig.com/add-css-preloader-website/">How to Add CSS Preloader to Your Website?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/add-css-preloader-website/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">9275</post-id>	</item>
		<item>
		<title>How to Use Uncss With Gulp to Remove Unused CSS?</title>
		<link>https://www.technig.com/use-uncss-gulp-remove-unused-css/</link>
					<comments>https://www.technig.com/use-uncss-gulp-remove-unused-css/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Thu, 30 Jun 2016 15:30:05 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[CSS Solution]]></category>
		<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[How to]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=7946</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"></div>
<p>Most of times we want to remove the ugly and unnecessary CSS styles. Of course you can go, search and find each those CSS class and remove them individually. May be you are like most other developers who use CSS Frameworks like bootstrap and semantic ui, where their are a lot of CSS class that [&#8230;]</p>
<p>The post <a href="https://www.technig.com/use-uncss-gulp-remove-unused-css/">How to Use Uncss With Gulp to Remove Unused CSS?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"></div><p>Most of times we want to remove the ugly and unnecessary CSS styles. Of course you can go, search and find each those CSS class and remove them individually. May be you are like most other developers who use CSS Frameworks like bootstrap and semantic ui, where their are a lot of CSS class that you might not use in your small project. Wouldn&#8217;t be cool if there was a way to automatically remove all those unused CSS styles with in minute? Today&#8217;s tutorial is about how to remove unused CSS. You will learn how to use grunt and uncss.</p>
<h2>What is Gulp?</h2>
<blockquote><p>Gulp is a task/build runner for development. It allows you to do a lot of stuff within your development workflow. You can compile sass/scss files, uglify and compress js files and there are a lot more that Grunt will do for you.</p></blockquote>
<h2>Requirements</h2>
<p>Before we start, make sure you have the base requirement and tools installed in your system. This tools include:</p>
<ul>
<li><a href="https://nodejs.org/" target="_blank" rel="noopener noreferrer">Nodejs</a></li>
<li><a href="http://gulpjs.com/" target="_blank" rel="noopener noreferrer">Gulp</a></li>
</ul>
<p>We assume you have installed nodejs in your system. If you don&#8217;t know how to do that, just go to nodejs.org and install it like other software.</p>
<p>Once you install it, you must be able to write node -v in command line and see the nodejs version.</p>
<figure id="attachment_7952" aria-describedby="caption-attachment-7952" style="width: 382px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2016/06/nodejs.png"><img loading="lazy" decoding="async" class="size-full wp-image-7952" src="https://www.technig.com/wp-content/uploads/2016/06/nodejs.png" alt="nodejs version " width="382" height="156" /></a><figcaption id="caption-attachment-7952" class="wp-caption-text">nodejs version</figcaption></figure>
<p>the current version of my nodejs is 4.4.6. Your&#8217;s might differ.</p>
<h3>Installing Gulp</h3>
<p>After installing nodejs, you can install Gulp now. To install nodejs, just run the following command.</p>
<pre class="">$ npm install --global gulp-cli</pre>
<p>This will install gulp globally, means you can write gulp in your command-line and it will work just fine.</p>
<h3 id="article-header-id-3" class="has-header-link">Creating a Gulp Project</h3>
<p>In your project root, create a package.json file and write an empty array in it.</p>
<pre class="">{

}</pre>
<p>Once the <code>package.json</code> file is created, we can install Gulp into the project by using the following command:</p>
<pre class="">npm install --save-dev gulp</pre>
<p>This time, we&#8217;re installing Gulp into <code>project</code> instead of installing it globally, which is why there are some differences in the command.</p>
<p>Note: They way gulp works is to install plugins for your project. Their are many different plugins for different purposes. We want to remove unused CSS, so we install uncss plugin.</p>
<h3>Install uncss to remove unused CSS</h3>
<pre class="lang:default decode:true ">npm install -g uncss</pre>
<p>Once you install it, you can remove unused CSS.</p>
<h2>How to Remove Unused CSS</h2>
<p>Create a gulpfile.js file in your project root. Past the following codes.</p>
<pre class="theme:sublime-text lang:js decode:true">var gulp = require('gulp');
var uncss = require('gulp-uncss');

gulp.task('uncss', function() {
  return gulp.src([
      'css/bootstrap.css',
      'css/style.css'
    ])
    .pipe(uncss({
      html: [
        'index.html',
      ]
    }))
    .pipe(gulp.dest('css/uncss'));
});</pre>
<p>The first two line will include the gulp and the gulp-uncss which we installed.</p>
<p>Secondly, we created a task with gulp and gave it a name call uncss. Of course you can name it anything you want.</p>
<p>The steps for tasks.</p>
<ol>
<li>Give the original file directory to gulp.src.</li>
<li>Spacify the  html files.</li>
<li>pip it to the directory you want to save the file.</li>
</ol>
<p>Now run the gulp command in your project directory and the the task name.</p>
<p>gulp uncss</p>
<p>It will remove unused CSS styles from bootstrap.css and style.css than saved it to css/uncss directory.</p>
<h2>Conclusion</h2>
<p>Most of times, we have speed loading problem for our site. By removing unused CSS styles, we can make our site load faster than ever. If you have any problem while using uncss, feel free to comment it bellow. 🙂</p>
<p>The post <a href="https://www.technig.com/use-uncss-gulp-remove-unused-css/">How to Use Uncss With Gulp to Remove Unused CSS?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/use-uncss-gulp-remove-unused-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7946</post-id>	</item>
		<item>
		<title>How to Add Live HTML Customizer to Demo Template?</title>
		<link>https://www.technig.com/add-html-live-customizer-demo-template/</link>
					<comments>https://www.technig.com/add-html-live-customizer-demo-template/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Mon, 30 May 2016 16:30:00 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[CSS Solution]]></category>
		<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[JavaScript]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=7560</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"></div>
<p>Have you ever seen any HTML template demo? You most probably see that they a a live customizer that will let you change the color skin or any other layouts. If you want to know how it&#8217;s made, This HTML live customizer tutorial will guide you through the process of creating live customizer. We will [&#8230;]</p>
<p>The post <a href="https://www.technig.com/add-html-live-customizer-demo-template/">How to Add Live HTML Customizer to Demo Template?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"></div><p>Have you ever seen any HTML template demo? You most probably see that they a a live customizer that will let you change the color skin or any other layouts. If you want to know how it&#8217;s made, This HTML live customizer tutorial will guide you through the process of creating live customizer. We will create an option that float to left side of the page and when the user hover on it, it must show a live color changer options that change the page color the way you want.</p>
<h2>Basic HTML Live Customizer</h2>
<p>Let&#8217;s start with the basic idea of having a page that have multiple color skins. For this example, let&#8217;s have four colors. Later on you can add more colors depending on your project. We will use jQuery to add link tag dynamically.</p>
<p>Through there are different approach for make html live customizer, we will assume that you have separate style sheets for each color.</p>
<p>Let&#8217;s say we have 4 files, red.css, blue.css, green.css and pink.css. When user select red, it will add a link tag and reference it to red.css file.</p>
<p>Starting by creating html markup.</p>
<pre class="theme:sublime-text lang:default decode:true ">    &lt;div class="skins"&gt;
      &lt;ul class="skin-colors"&gt;
        &lt;li data-skin="red" style="background-color: red" class="active"&gt;&lt;/li&gt;
        &lt;li data-skin="green" style="background-color: green"&gt;&lt;/li&gt;
        &lt;li data-skin="blue" style="background-color: blue"&gt;&lt;/li&gt;
        &lt;li data-skin="pink" style="background-color: pink"&gt;&lt;/li&gt;
      &lt;/ul&gt;
      &lt;span class="skin-toggler"&gt;&lt;i class="fa fa-cog"&gt;&lt;/i&gt;&lt;/span&gt;
    &lt;/div&gt;</pre>
<p>To make if flow on the right side of the page use this css. Of course you can customize it they way you are comfortable with. Note: we are using<a href="http://fontawesome.io/" target="_blank" rel="noopener noreferrer"> font awesome</a> for icons.</p>
<pre class="theme:sublime-text lang:css decode:true ">      .skins {
        position: fixed;
        top: 190px;
        left: -222px;
        transition: .3s ease-in-out;
      }

      .skins:hover {
        left: 0;
      }

      .skin-colors {
        list-style: none;
        padding: 20px;
        margin: 0;
        background-color: #fff;
        width: 222px;
        border: 1px solid #e7e7e7;
      }

      .skin-colors li {
        position: relative;
        display: inline-block;
        width: 34px;
        height: 34px;
        cursor: pointer;
        margin: 4px;
        transition: .3s ease-in-out;
      }

      .skin-colors li:hover {
        opacity: .7;
      }

      .skin-colors li.active::before {
        content: "\f00c";
        font-family: FontAwesome;
        font-size: 20px;
        width: 34px;
        line-height: 34px;
        text-align: center;
        position: absolute;
        color: #fff;
      }

      .skin-toggler {
        position: absolute;
        display: inline-block;
        width: 50px;
        height: 50px;
        right: -49px;
        top: 0;
        background-color: #fff;
        font-size: 30px;
        text-align: center;
        line-height: 50px;
        color: #888;
        border: 1px solid #e7e7e7;
        border-left: 0;
      }</pre>
<p>And now, the jQuery part. As mentioned, we assume you have separate styles.</p>
<pre class="theme:sublime-text lang:js decode:true">      $(function() {

        $("head").append('&lt;link id="skin-css" rel="stylesheet"&gt;');
        $('.skin-colors li').on('click', function() {
          $('.skins li').removeClass('active');
          $(this).addClass('active');
          $('#skin-css').attr('href', 'css/skins/'+ $(this).data('skin') +'.css');
        });
      });</pre>
<p>I hope you have a basic knowledge of JavaScript and jQuery.</p>
<p>Here is the live example of our html live customizer.</p>
<p>[codepen_embed height=&#8221;420&#8243; theme_id=&#8221;dark&#8221; slug_hash=&#8221;MeWEEV&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/MeWEEV/&#8217;&gt;Live customizer practice&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<p>&nbsp;</p>
<p>It will work as we expected, but for our demo we will change it a bit. Let&#8217;s change the background color with jQuery instead of referencing to external css file.</p>
<p>Here is how we can do that.</p>
<pre class="theme:sublime-text lang:js decode:true">$(function() {
      $('.skin-colors li').on('click', function() {
          $('.skins li').removeClass('active');
          $(this).addClass('active');
          $('body').css('background-color', $(this).data('skin'));
        });
 });</pre>
<p>Here is our final html live customizer demo.</p>
<p>[codepen_embed height=&#8221;456&#8243; theme_id=&#8221;dark&#8221; slug_hash=&#8221;JKjrMV&#8221; default_tab=&#8221;js,result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/JKjrMV/&#8217;&gt;Live customizer practice 2&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h2>Conclusion</h2>
<p>HTML live customizer is something that every customer want to see on your projects, so it was how we can apply it html template. It&#8217;s not only HTML live customizer, but you can use for WordPress themes in the same ways. We hope it has been informative for you, if you have any questions related to this article, feel free to comment it bellow. 🙂</p>
<p>The post <a href="https://www.technig.com/add-html-live-customizer-demo-template/">How to Add Live HTML Customizer to Demo Template?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/add-html-live-customizer-demo-template/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7560</post-id>	</item>
		<item>
		<title>CSS3 3D Transform in Depth Tutorial with Examples</title>
		<link>https://www.technig.com/css3-3d-transform-tutorial/</link>
					<comments>https://www.technig.com/css3-3d-transform-tutorial/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Thu, 28 Apr 2016 05:30:51 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CSS Solution]]></category>
		<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[CSS3 3D]]></category>
		<category><![CDATA[CSS3 Transform]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=7145</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"></div>
<p>In previous article, we discussed about the 2D transform in CSS3. This article is all about 3D transform. In 2009, the WebKit development team proposed a new extension to CSS that would allow Web page elements to be displayed and transformed on a three-dimensional plane(3D). This proposal was called 3D Transforms. CSS3 3D transform start [&#8230;]</p>
<p>The post <a href="https://www.technig.com/css3-3d-transform-tutorial/">CSS3 3D Transform in Depth Tutorial with Examples</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"></div><p>In previous article, we discussed about the<a href="https://www.technig.com/css3-2d-transform-tutorial/" target="_blank" rel="noopener noreferrer"> 2D transform in CSS3.</a> This article is all about 3D transform. In 2009, the WebKit development team proposed a new extension to CSS that would allow Web page elements to be displayed and transformed on a three-dimensional plane(3D). This proposal was called 3D Transforms. CSS3 3D transform start from that time. Nowadays, CSS3 3D transform is support is most major browsers. Before we start learning the 3D transform, Lets see a few examples.</p>
<h3>CSS 3D Solar System</h3>
<p><em>by  Julian Garnier</em><br />
[codepen_embed height=&#8221;439&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;idhuG&#8221; default_tab=&#8221;result&#8221; user=&#8221;juliangarnier&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/juliangarnier/pen/idhuG/&#8217;&gt;CSS 3D Solar System&lt;/a&gt; by Julian Garnier (&lt;a href=&#8217;http://codepen.io/juliangarnier&#8217;&gt;@juliangarnier&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h3 id="details-title" class="details-title">3D CSS Typography</h3>
<p><em>by  Noah Blon</em></p>
<p>[codepen_embed height=&#8221;416&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;CsxfH&#8221; default_tab=&#8221;result&#8221; user=&#8221;noahblon&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/noahblon/pen/CsxfH/&#8217;&gt;3D CSS Typography&lt;/a&gt; by Noah Blon (&lt;a href=&#8217;http://codepen.io/noahblon&#8217;&gt;@noahblon&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h2>CSS3 3D Transform Browser Support</h2>
<p>The browser support for 3D transform is good enough. It means, IE 11 support it with prefixes. Here is the caniuse.com browser support table.</p>
<figure id="attachment_7148" aria-describedby="caption-attachment-7148" style="width: 1181px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2016/04/CSS3-3D-transform-support.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-7148" src="https://www.technig.com/wp-content/uploads/2016/04/CSS3-3D-transform-support.jpg" alt="CSS3 3D transform support" width="1181" height="546" /></a><figcaption id="caption-attachment-7148" class="wp-caption-text">CSS3 3D transform support</figcaption></figure>
<h2 id="transformation-functions">3D Transformation Functions</h2>
<p>The functions for 3D transformation in CSS3 are;<em><span style="background-color: #c9c9c9;"> translate3d</span></em> ,<em><span style="background-color: #c9c9c9;"> scale3d</span> </em>,<em><span style="background-color: #c9c9c9;"> rotate3d ,</span></em> <span style="background-color: #c9c9c9;"><em>matrix3d</em> </span>and <em><span style="background-color: #c9c9c9;">perspective.</span></em> We will talk about each of them separately.</p>
<p><strong>3D Methods</strong></p>
<p>For translate method, you have multiple options. you can use translateY() to translate the element in Y-axis. You can use translateX() in X-axis. And most importantly, you can use translateZ() axis, which runs front to back in 3D space. Positive values position the element closer to the viewer, negative values far away. Additionally, you can use translate3d() and give all the values at once.</p>
<p>Note: the same thing will work for other three methods as well. Here is an example</p>
<pre class="theme:sublime-text lang:css decode:true ">translate3d( x, y, z )
scale3d( x, y, z )
rotate3d( x, y, z, angle )</pre>
<p><strong>Matrix3d</strong></p>
<p>If you new to matrix method in general, I recommend you to read the article about CSS3 2D transform first. there we explained how matrix work in very easy ways. Martix3d will will work instead of all three other methods. For example.</p>
<p>instead of this using two function like this</p>
<pre class="theme:sublime-text lang:css decode:true ">transform: rotate3d(1, 0, 1, 45deg) translate3d(24px,25px, 100px);
</pre>
<p>You can use</p>
<pre class="theme:sublime-text lang:css decode:true ">transform: matrix3d(0.8535533905932737, 0.4999999999999999, 0.14644660940672619, 0, -0.4999999999999999, 0.7071067811865476, 0.4999999999999999, 0, 0.14644660940672619, -0.4999999999999999, 0.8535533905932737, 0, 22.62994231491119, -20.3223304703363, 101.3700576850888, 1)
</pre>
<p>In one-line. Looking pretty easy. If you think it is a lot more complicated than first option, you might be confuse about the number values. You never need to write this values by hand. There are some <a href="http://meyerweb.com/eric/tools/matrix/">tools</a> that you can use to generate this values. All you do is enter the transformations you want and the click the red button for the tool to generate the equivalent <code>matrix()</code> function for you.</p>
<p><strong>Perspective</strong></p>
<p>The perspective property is used to activate the three-dimensional space on an element so that its children can be positioned in that space. You can use it in two different ways. Using it as method or as property.</p>
<p>Example used as method.</p>
<pre class="theme:sublime-text lang:css decode:true ">transform: perspective( 700px );</pre>
<p>Used as property.</p>
<pre class="theme:sublime-text lang:css decode:true ">perspective: 600px;</pre>
<p>Here is a live example.</p>
<p>[codepen_embed height=&#8221;494&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;pyOYJB&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/pyOYJB/&#8217;&gt;Practice Perspective in css&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<p><strong>Perspective-origin</strong></p>
<p>By default, the vanishing point for a 3D space is positioned at the center. (It can be changed using the <code>perspective-origin</code> property.) If the elements don’t share the <strong>same</strong> three-dimensional space, each of them will have a vanishing point of its own. So, using <code>perspective()</code> will result in each element having its own space and therefore its own vanishing point. In order to avoid this and allow the elements to line up, they should share the same space. By using the <code>perspective</code> property on the container, a three-dimensional space is created that is shared by all its children.</p>
<p>You can specify the origin like so.</p>
<pre class="theme:sublime-text lang:css decode:true ">perspective-origin: 25% 75%;</pre>
<h2>Conclusion</h2>
<p>Now you have learned how CSS3 3D transform work. You should now play and practice to master. Try to use in in different projects to understand how it function. We have shown you just one usage, but you must search for different examples and see how others use it. Check to last example on <a href="https://desandro.github.io/3dtransforms/examples/perspective-03.html" target="_blank" rel="noopener noreferrer">github</a>. If you have any question about CSS3 3D transform or any other property, feel free to comment it bellow. 🙂</p>
<p>The post <a href="https://www.technig.com/css3-3d-transform-tutorial/">CSS3 3D Transform in Depth Tutorial with Examples</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/css3-3d-transform-tutorial/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7145</post-id>	</item>
		<item>
		<title>CSS3 2D Transform in Depth Tutorial</title>
		<link>https://www.technig.com/css3-2d-transform-tutorial/</link>
					<comments>https://www.technig.com/css3-2d-transform-tutorial/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Sun, 24 Apr 2016 05:30:35 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Web Designing]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=7069</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"></div>
<p>In the previous tutorial, we have learned the CSS3 2D transition property. This is CSS3 2d transform tutorial, another amazing feature of CSS3. If you master the transform property, you will master the animation world in CSS3. Though transform property is not for animation, it will help you create different effects when using animations. What [&#8230;]</p>
<p>The post <a href="https://www.technig.com/css3-2d-transform-tutorial/">CSS3 2D Transform in Depth Tutorial</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"></div><p>In the <a href="https://www.technig.com/css3-transition-depth-tutorial/" target="_blank" rel="noopener noreferrer">previous </a>tutorial, we have learned the CSS3 2D transition property. This is CSS3 2d transform tutorial, another amazing feature of CSS3. If you master the transform property, you will master the animation world in CSS3. Though transform property is not for animation, it will help you create different effects when using animations.</p>
<figure id="attachment_7071" aria-describedby="caption-attachment-7071" style="width: 800px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2016/04/CSS3-Transform-tutorial.gif"><img loading="lazy" decoding="async" class="size-full wp-image-7071" src="https://www.technig.com/wp-content/uploads/2016/04/CSS3-Transform-tutorial.gif" alt="CSS3 2D Transform tutorial - Technig" width="800" height="600" /></a><figcaption id="caption-attachment-7071" class="wp-caption-text">CSS3 2D Transform tutorial &#8211; Technig</figcaption></figure>
<h2>What is CSS3 Transform?</h2>
<p>The transform property allows you to visually change an element by skewing, rotating, translating and scaling. A transformation is an effect that lets an element change shape, size and position. CSS3 supports 2d and 3d transformations. First will learn the CSS3 2D transform and next will go to 3D. But before that, let&#8217;s see and example.</p>
<p>[codepen_embed height=&#8221;266&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;aNjEVP&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/aNjEVP/&#8217;&gt;Practicing 2D and 3D transform in css3&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<h2>CSS3 2D Transform</h2>
<p>2D transformation let you transform the element in 2D mode. Before we check an example about 2D, let&#8217;s see the browser support and general property values.</p>
<figure id="attachment_7077" aria-describedby="caption-attachment-7077" style="width: 1180px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2016/04/CSS3-Transform-2D-support.jpg"><img loading="lazy" decoding="async" class="wp-image-7077 size-full" src="https://www.technig.com/wp-content/uploads/2016/04/CSS3-Transform-2D-support.jpg" alt="CSS3 2D Transform support" width="1180" height="544" /></a><figcaption id="caption-attachment-7077" class="wp-caption-text">CSS3 2D Transform support</figcaption></figure>
<p>The following will be the methods for 2D transformation.</p>
<ul>
<li><code>translate()</code></li>
<li><code>rotate()</code></li>
<li><code>scale()</code></li>
<li><code>skewX()</code></li>
<li><code>skewY()</code></li>
<li><code>matrix()</code></li>
</ul>
<p><strong>General Structure</strong> &#8211; It&#8217;s boring to talk about each of the functions separately, so we will give the general structure that will work for all of this functions.</p>
<pre class="theme:sublime-text lang:css decode:true">/* Property: values */
transform: none;

/*Property: Function values */
transform: matrix(1.0, 2.0, 3.0, 4.0, 5.0, 6.0);
transform: translate(12px, 50%);
transform: translateX(2em);
transform: translateY(3in);
transform: scale(2, 0.5);
transform: scaleX(2);
transform: scaleY(0.5);
transform: rotate(0.5turn);
transform: skew(30deg, 20deg);
transform: skewX(30deg);
transform: skewY(1.07rad);
transform: matrix3d(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0);
transform: translate3d(12px, 50%, 3em);
transform: translateZ(2px);
transform: scale3d(2.5, 1.2, 0.3);
transform: scaleZ(0.3);
transform: rotate3d(1, 2.0, 3.0, 10deg);
transform: rotateX(10deg);
transform: rotateY(10deg);
transform: rotateZ(10deg);
transform: perspective(17px);</pre>
<p>If you want to give multiple values at the same time, you can do like so.</p>
<pre class="theme:sublime-text lang:css decode:true">/* Multiple function values */
transform: translateX(10px) rotate(10deg) translateY(5px);
</pre>
<p>The global values would be as following.</p>
<pre class="theme:sublime-text lang:css decode:true ">/* Global values */
transform: inherit;
transform: initial;
transform: unset;</pre>
<p><strong>Explanations</strong>:</p>
<p><strong>Matrix</strong>: To understand the <code>matrix()</code> method, it is best to understand the other four types first. The Other four do as they sound. <span style="background-color: #c9c9c9;"><em>translate()</em>&#8211;</span> move, <span style="background-color: #c9c9c9;"><em>rotate()</em> </span>&#8211;  turn round, <span style="background-color: #c9c9c9;"><em>scale()</em> </span>&#8211; scale the size and<span style="background-color: #c9c9c9;"> skew()</span> &#8211; will oblique the element.</p>
<p>The remaining functions are matrix and perspective.</p>
<p><span style="background-color: #c9c9c9;"><em><code>matrix(a, b, c, d, e, f)</code></em></span> does everything that the previously listed transformation do.</p>
<p>The two arguments,<span style="background-color: #c9c9c9;"> <code>a</code></span> and <span style="background-color: #c9c9c9;"><code>d</code></span> are for scaling the element in the <span style="background-color: #c9c9c9;">x-direction</span> and the<span style="background-color: #c9c9c9;"> y-direction.</span> It works like <span style="background-color: #c9c9c9;"> scale(a,b)</span> .</p>
<p>The second and third arguments<span style="background-color: #c9c9c9;"> <code>b</code></span> and <span style="background-color: #c9c9c9;"><code>c</code></span> are for skewing the element. The two values work <em>identically</em> to that of the<span style="background-color: #c9c9c9;"> <code>skew(b, c)</code> </span>method.</p>
<p>Lastly, the last two arguments <span style="background-color: #c9c9c9;"> e </span>and <span style="background-color: #c9c9c9;"> f  </span>are for translating the element in the<span style="background-color: #c9c9c9;"> x-direction</span> and the<span style="background-color: #c9c9c9;"> y-direction,</span> respectively. <em>Identically</em> to that of the <span style="background-color: #c9c9c9;"><code>translate(e, f)</code> </span>method.</p>
<p>You can use the<span style="background-color: #c9c9c9;"> <code>matrix()</code> </span>transformation to achieve an incredible effects.</p>
<p>Here is a basic structure.</p>
<pre class="theme:sublime-text lang:css decode:true ">#element {
     -moz-transform:    matrix(1.4488, -0.3882, 0.3882, 1.4489, 400px, -100px);
     -webkit-transform: matrix(1.4488, -0.3882, 0.3882, 1.4489, 400, -100);
     -o-transform:      matrix(1.4488, -0.3882, 0.3882, 1.4489, 400, -100);
     transform:         matrix(1.4488, -0.3882, 0.3882, 1.4489, 400, -100);
}</pre>
<h2>Conclusion.</h2>
<p>There are a lot to talk about CSS3 2d transform. We will discuss about perspective property in the 3D transform tutorial. We hope you have learned something from this tutorial, if you have any type of question related to CSS3 2D transform or CSS3 in general, feel free to comment it bellow. 🙂</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.technig.com/css3-2d-transform-tutorial/">CSS3 2D Transform in Depth Tutorial</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/css3-2d-transform-tutorial/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7069</post-id>	</item>
		<item>
		<title>Understanding CSS3 Radial Gradient &#8211; Part 2</title>
		<link>https://www.technig.com/understanding-css3-radial-gradient/</link>
					<comments>https://www.technig.com/understanding-css3-radial-gradient/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Sun, 17 Apr 2016 16:30:33 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[CSS3 Gradient]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=6917</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"></div>
<p>In the previous article CSS3 Gradient technique about CSS3 gradient, we learned the basic of gradient techniques in css. In this article we will continue and learn more about CSS3 gradient and specially, CSS3 radial gradient. If you have came directly to this part of the tutorial, we recommend you to take a look at the first [&#8230;]</p>
<p>The post <a href="https://www.technig.com/understanding-css3-radial-gradient/">Understanding CSS3 Radial Gradient &#8211; Part 2</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"></div><p>In the previous article <a href="https://www.technig.com/css3-gradient-technique-linear-radial/" target="_blank" rel="noopener noreferrer">CSS3 Gradient technique</a> about CSS3 gradient, we learned the basic of gradient techniques in css. In this article we will continue and learn more about CSS3 gradient and specially, CSS3 radial gradient. If you have came directly to this part of the tutorial, we recommend you to take a look at the first part of the article, than refer to this part.</p>
<h2>Multi Color Gradient</h2>
<p>let&#8217;s continue with multi color gradient. It&#8217;s pretty simple, after second and third argument for linear-gradient function, add as many color as you want. Here an example</p>
<p>[codepen_embed height=&#8221;266&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;jqxBYv&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/jqxBYv/&#8217;&gt;practicing multi color gradient&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<p>If you use rgba color, you can specify the opacity as well. for instance</p>
<pre class="theme:sublime-text lang:css decode:true ">background: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1));</pre>
<p>Yep, it was all about the basic of linear gradient. now let&#8217;s learn radial gradient.</p>
<figure id="attachment_6960" aria-describedby="caption-attachment-6960" style="width: 800px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2016/04/css3-radial-gradient-1.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-6960" src="https://www.technig.com/wp-content/uploads/2016/04/css3-radial-gradient-1.jpg" alt="CSS3 Radial Gradient" width="800" height="231" /></a><figcaption id="caption-attachment-6960" class="wp-caption-text">CSS3 Radial Gradient</figcaption></figure>
<h2>How to Use CSS3 Radial Gradient?</h2>
<p>CSS3 radial gradient is like a circle. It start from the center and ends to borders. You can think of center as 0% point, and the border as 100% point.</p>
<figure id="attachment_6962" aria-describedby="caption-attachment-6962" style="width: 567px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2016/04/css3-radial-gradient.png"><img loading="lazy" decoding="async" class="wp-image-6962" src="https://www.technig.com/wp-content/uploads/2016/04/css3-radial-gradient.png" alt="radial gradient example" width="567" height="390" /></a><figcaption id="caption-attachment-6962" class="wp-caption-text">radial gradient example</figcaption></figure>
<p>css3 radial gradient</p>
<p>The first parameter for the radial-gradient function is the shape. the default is <em>ellipse,</em> you can write circle instead. Here is the basic example.</p>
<pre class="theme:sublime-text lang:css decode:true">.gradient {
  background-image:
    radial-gradient(
      circle,
      red,
      blue
    );
}</pre>
<p>As like linear-gradient, you can add more arguments and more colors.</p>
<p>[codepen_embed height=&#8221;266&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;pyVeQG&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/pyVeQG/&#8217;&gt;practicing radial gradient&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<p>&nbsp;</p>
<h3>Specify the Size</h3>
<p>In the above example, the circle of the gradient is out the 300px box. You can give the size value to make it fit on the container. We have different size values. Here are the list.</p>
<ul>
<li><strong>closest-side</strong></li>
<li><strong>farthest-side</strong></li>
<li><strong>closest-corner</strong></li>
<li><strong>farthest-corner</strong></li>
</ul>
<p>You can write them list this</p>
<pre class="theme:sublime-text lang:css decode:true ">  background: radial-gradient(circle closest-side, red, blue, green); 
</pre>
<p>Lastly, if you want  to use CSS3 gradient in production projects, make sure you write the prefixes. Here an example for all major browser support.</p>
<pre class="theme:sublime-text lang:css decode:true ">.technig-gradient {
  background: red; /* For browsers that do not support gradients */
  background: -webkit-radial-gradient(circle, red, yellow, green); /* Safari */
  background: -o-radial-gradient(circle, red, yellow, green); /* Opera 11.6 to 12.0 */
  background: -moz-radial-gradient(circle, red, yellow, green); /* Firefox 3.6 to 15 */
  background: radial-gradient(circle, red, yellow, green); /* Standard syntax */
}</pre>
<p>&nbsp;</p>
<h2>Conclusion</h2>
<p>There are a lot to learn about CSS3 gradients, you can search on w3schools for more arguments support. We hope it has been helpful for you. If you have any types of questions related to CSS3 feel free to comment it bellow. 🙂</p>
<p>The post <a href="https://www.technig.com/understanding-css3-radial-gradient/">Understanding CSS3 Radial Gradient &#8211; Part 2</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/understanding-css3-radial-gradient/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6917</post-id>	</item>
	</channel>
</rss>
