<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jacob Lett on Medium]]></title>
        <description><![CDATA[Stories by Jacob Lett on Medium]]></description>
        <link>https://medium.com/@BootstrapC?source=rss-84e81a877406------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*7UyIsvUtgTcRwlZiKXNpzw.png</url>
            <title>Stories by Jacob Lett on Medium</title>
            <link>https://medium.com/@BootstrapC?source=rss-84e81a877406------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 22:23:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@BootstrapC/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Want to Learn CSS Flexbox? Learn How to Take Command of Flexbox]]></title>
            <link>https://medium.com/@BootstrapC/learn-how-to-take-command-of-css-flex-91e39162eaa?source=rss-84e81a877406------2</link>
            <guid isPermaLink="false">https://medium.com/p/91e39162eaa</guid>
            <category><![CDATA[bootstrap-4]]></category>
            <category><![CDATA[responsive-design]]></category>
            <category><![CDATA[flexbox]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[flex]]></category>
            <dc:creator><![CDATA[Jacob Lett]]></dc:creator>
            <pubDate>Fri, 02 Feb 2018 03:15:42 GMT</pubDate>
            <atom:updated>2018-02-06T10:18:24.624Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1mp4juKivJTGwwj0rBEp6Q.jpeg" /></figure><p>As a kid I loved playing with toy plastic army men. I would line them up and pretend to be in command giving orders to my soldiers in order to defeat the enemy. Since I was in full command, the soldiers would look to me for their orders.</p><p>Sometimes a hot shot recruit would overstep my orders and go rogue, He would ignore and override my orders and just do what he wanted.</p><p>My example demonstrates the basic principle of the CSS display property <a href="https://bootstrapcreative.com/glossary/flexbox/">flexbox</a> which is…</p><blockquote><strong><em>Flex items</em></strong><em> (soldiers) follow the orders given by their </em><strong><em>flex container</em></strong><em> (commander).</em></blockquote><p>In addition, an individual flex item has the ability to override the orders given out by the flex container if required. All it needs is a unique class name or ID with a unique set of properties.</p><p>In this post, I will be answering some of the most common questions and show you how to start using flexbox in your projects.</p><h3>What is flexbox?</h3><p>Flexbox is a CSS display property that was introduced in CSS3. If you are familiar with an UL and LI relationship in HTML unordered lists, flexbox is very similar to how it has sub-items or children inside a parent wrapping container. With flexbox they are called flex items.</p><p>The parent-child relationship of an unordered list</p><pre>&lt;ul&gt;</pre><pre>  &lt;li&gt;list item&lt;/li&gt;</pre><pre>  &lt;li&gt;list item&lt;/li&gt;</pre><pre>&lt;/ul&gt;</pre><p>Is like the parent-child relationship of a flexbox container and it’s flexbox items</p><pre>&lt;div class=”your-class”&gt;</pre><pre>  &lt;div&gt;flex item&lt;/div&gt;</pre><pre>  &lt;div&gt;flex item&lt;/div&gt;</pre><pre>&lt;/div&gt;</pre><p>But you’re flex items do not have to be the same type of HTML element. <a href="https://codepen.io/JacobLett/pen/OOmNPR">In this example</a>, I use different HTML elements but the first children still act as flex items.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*UbRbtHB2LCfCOzIV7dzvkg.png" /></figure><p><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/flex">Since flexbox is a display property,</a> it can be applied to any parent and child HTML elements and does not need to have its own HTML element like &lt;flexbox&gt;.</p><h3>When and why would you use flexbox instead of floats?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/1*DKi-vhkQ74g-kgSpjWjDdg.png" /><figcaption><em>Floats were intended to keep images inline with the copy but have text flow around them. Similar to what you would find in traditional print layouts.</em></figcaption></figure><p>The demands of web page layout have often exceeded what was currently available. Early websites used HTML tables for page layout and were then replaced by floats. But even floats were not intended for complex page layout. Their purpose is to keep an image in the text flow but allow you to float it to the right or the left and have text flow around it. Very similar to what you would see in a book or magazine.</p><blockquote><em>The main reason why you would use flexbox today instead of floats is to satisfy the demands of </em><a href="https://bootstrapcreative.com/glossary/responsive-web-design/"><em>responsive design</em></a><em>.</em></blockquote><p>Flexbox gives you<strong> the ability to change the order and alignment of elements with media queries</strong>. So you could have your last column listed first on mobile.</p><p>You would need to use javascript to achieve this same level of control in a float based layout.</p><h3>How does flexbox work?</h3><h3><strong>Flex Container</strong> (commanding officer)</h3><p>Flex layout gives the container the ability to alter its items’ width/height (and order) to best fill the available space of the container.</p><p>The container has a main axis and cross axis which depends on the flex direction. Each axis has a start and end.</p><p>For example, if you set the flex direction to the column. The main axis is vertical and the cross axis is horizontal. If you set the flex direction to row, the main axis is horizontal and the cross axis is vertical.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O94Yt86sIiMO98EzLM1ZMA.png" /></figure><h3>Ok, now to discuss the flex items inside the container.</h3><h3>Flex Item (individual soldier)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/100/1*jvklZF42ghDAJ6PRIxXC3w.png" /><figcaption><strong>Flexbox items are like soldiers</strong></figcaption></figure><p><strong>Flexbox items are like soldiers</strong> because they follow the orders given by their container. Just like soldiers listen to their commanding officer in battle.</p><p>By default, flex items all want to appear on the same line.</p><p>Individual flexbox items (soldiers) can be targeted with a unique class and property to override the orders given by their container.</p><p>The example below uses the class .rogue-flex-item to make adjustments to only Soldier J in red.</p><p><strong>Your turn!</strong> You can fork <a href="https://codepen.io/JacobLett/pen/xXQVPV/">this example</a> on codepen and use as a template for trying out flexbox on your own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*dmQ4TU-V09ayQN1C7bE_CA.png" /><figcaption><a href="https://codepen.io/JacobLett/pen/xXQVPV/">Flexbox demo template available on Codepen</a></figcaption></figure><h3>How do you enable and use flexbox?</h3><p>Enabling flexbox is just like declaring an image to be block or inline-block. You just need to have some HTML <a href="https://bootstrapcreative.com/glossary/markup/">markup</a> with some child elements and a class name.</p><p><strong>HTML</strong></p><pre>&lt;div class=”your-class”&gt;</pre><pre>  &lt;div&gt;flex item&lt;/div&gt;</pre><pre>  &lt;div&gt;flex item&lt;/div&gt;</pre><pre>&lt;/div&gt;</pre><p><strong>Then in your CSS file, target your class and write display:flex</strong></p><pre>.your-class {</pre><pre>/* If you just have display:flex the flex items will act like inline items */</pre><pre>  display:flex;</pre><pre>  /* determines the main and cross axis */</pre><pre>  flex-direction:column;</pre><pre>}</pre><p><a href="https://codepen.io/JacobLett/pen/XzazwJ">See this example.</a></p><p>Now that you have flexbox enabled and set the main and cross axis, you can now give more detailed commands on how you want your items to behave.</p><h3>Ten hut! How to give your soldiers their marching orders!</h3><p><em>As you scroll you will see flexbox has a lot of options to give you control of how the items are positioned. Remembering all of these properties would be a task in itself.</em></p><blockquote><em>I love cheat sheets, so I created a </em><a href="https://bootstrapcreative.com/resources/flexbox-cheat-sheet/"><strong><em>flexbox cheat sheet pdf</em></strong></a><strong><em> </em></strong><em>with all of the information below. It also has a cross reference for </em><a href="https://bootstrapcreative.com/glossary/bootstrap-css/"><em>Bootstrap</em></a><em> flexbox classes to help you make your properties </em><a href="https://bootstrapcreative.com/glossary/responsive-web-design/"><em>responsive</em></a><em>.</em></blockquote><h3>Step 1:</h3><h4>Do you want the container to behave like a block on inline element?</h4><p>The containers can act like block or inline elements. If you change this to inline-flex they will nudge up together like a list of images would.</p><blockquote>display: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/display#Values">read docs</a></blockquote><blockquote><strong>flex</strong><br>makes the container act display block</blockquote><blockquote><strong>inline-flex</strong><br>makes the container act display inline</blockquote><h3>Step 2:</h3><h4>Do you want your main axis to be vertical or horizontal?</h4><blockquote>flex-direction: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction">read docs</a></blockquote><blockquote><strong>row (default)</strong><br>left to right</blockquote><blockquote><strong>row-reverse</strong><br>right to left</blockquote><blockquote><strong>column</strong><br>top to bottom</blockquote><blockquote><strong>column</strong><br>reverse = bottom to top</blockquote><h3>Step 3:</h3><h4>How do you want the extra space to be distributed along the main axis?</h4><blockquote>justify-content: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content">read docs</a></blockquote><blockquote><strong>flex-start (default)</strong><br>items anchored to the start</blockquote><blockquote><strong>flex-end</strong><br>items anchored to the start</blockquote><blockquote><strong>center</strong><br>items centered</blockquote><blockquote><strong>space-between</strong><br>items evenly distributed in the line. First item in on the start and last item is at the end</blockquote><blockquote><strong>space-around</strong><br>start and end items are not to the edge but have 1 unit of space on each side</blockquote><blockquote><strong>space-evenly</strong><br>similar to space-around, except all space is the same</blockquote><h3>Step 4:</h3><h4>How do you want the extra space of LINES of items to be distributed along the cross axis?</h4><blockquote>align-content: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/align-content">read docs</a></blockquote><blockquote><strong>flex-start</strong><br>items anchored to the start</blockquote><blockquote><strong>flex-end</strong><br>items anchored to the end</blockquote><blockquote><strong>center</strong><br>items centered</blockquote><blockquote><strong>space-between</strong><br>first line at the start of the container and the last one is at the end</blockquote><blockquote><strong>space-around</strong><br>lines are evenly distributed with equal space around each line</blockquote><blockquote><strong>stretch (default)</strong><br>lines stretch to take up the space that is left</blockquote><h3>Step 5:</h3><h4>How do you want the extra space between items to be distributed along the cross axis?</h4><blockquote>align-items: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/align-items">read docs</a></blockquote><blockquote><strong>flex-start</strong><br>cross axis align items to start</blockquote><blockquote><strong>flex-end</strong><br>cross axis align items to end</blockquote><blockquote><strong>center</strong><br>cross axis align items center</blockquote><blockquote><strong>baseline</strong><br>align baselines</blockquote><blockquote><strong>stretch (default)</strong><br>stretch to fill the container</blockquote><h3>Step 6:</h3><h4>Do you want the items to wrap if they don’t fit on one line?</h4><blockquote>flex-wrap: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/flex-wrap">read docs</a></blockquote><blockquote><strong>nowrap (default)</strong><br>all items will try to stay on one line</blockquote><blockquote><strong>wrap</strong><br>if items don’t fit they will wrap and create a new line below</blockquote><blockquote><strong>wrap-reverse</strong><br>if items don’t fit they will wrap and create a new line above</blockquote><h4>Shorthand Property</h4><p>This is a shorthand property that sets the flex-direction and flex-wrap properties. I suggest avoid using this until you learn the core properties because it could make things more confusing.</p><blockquote>flex-flow: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/flex-flow">read docs</a></blockquote><blockquote>&lt; flex-direction &gt; &lt; flex-wrap &gt;</blockquote><blockquote>example:<br>flex-flow: column-reverse wrap-reverse;or just flex-flow: wrap-reverse;</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/100/1*jvklZF42ghDAJ6PRIxXC3w.png" /></figure><h3>How do you make a flex item act differently than the rest?</h3><h3>Step 1:</h3><h4>Do you want to change the order of this item relative to the other items?</h4><blockquote>order: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/order">read docs</a></blockquote><blockquote><strong>[number] <br></strong>default is 0</blockquote><h3>Step 2:</h3><h4>Do you want to have this item take up more space than the other items?</h4><blockquote>flex-grow: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/flex-grow">read docs</a></blockquote><blockquote><strong>[number]<br></strong>default 0</blockquote><h3>Step 3:</h3><h4>Do you want this item to take less space than the other items?</h4><blockquote>flex-shrink: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/flex-shrink">read docs</a></blockquote><blockquote><strong>[number]<br></strong>default 1</blockquote><h3>Step 4:</h3><h4>Do you want to set the default size of this item before the other item sizes are set?</h4><blockquote>flex-basis: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis">read docs</a></blockquote><blockquote><strong>[length]</strong><br>A number followed by px, em, rem, or %. Check the docs for additional keywords</blockquote><blockquote><strong>auto (default)</strong><br>look at my width or height property</blockquote><h3>Step 5:</h3><h4>Do you want to override the align-items value for this item?</h4><blockquote>align-self: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/align-self">read docs</a></blockquote><blockquote><strong>auto</strong></blockquote><blockquote><strong>flex-start</strong><br>cross-start margin is on the cross start line</blockquote><blockquote><strong>flex-end</strong><br>cross-end margin is on the cross end line</blockquote><blockquote><strong>center</strong><br>centers are aligned</blockquote><blockquote><strong>baseline</strong><br>baselines are aligned</blockquote><blockquote><strong>stretch (default)</strong><br>fill the container</blockquote><h4>Shorthand property</h4><blockquote>flex: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/flex">read docs</a></blockquote><blockquote>example: <br>Three values: <strong>flex-grow</strong> | <strong>flex-shrink</strong> | <strong>flex-basis</strong> <br>flex: 2 2 10%;</blockquote><h3>How do you make flexbox responsive with Bootstrap 4?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*liXZc_n5A6EALOe11IZo_w.png" /><figcaption><a href="http://getbootstrap.com/docs/4.0/utilities/flex/">Bootstrap 4 Responsive Flex Classes</a></figcaption></figure><p>In my example I have three flex items and I would like to have the last item to appear first only on mobile vertical orientation. Since I am working mobile first, I would need to list my flex items in the source order I want them to appear in mobile. So 3, 1, 2.</p><p>I will then use CSS to change the order at the breakpoint above what I am targeting. So my media query below is saying, “don’t apply this until the window is at least 575px wide”.</p><pre>@media (min-width: 575px) {</pre><pre>  .rogue-flex-item {</pre><pre>    order:3;</pre><pre>  }</pre><pre>}</pre><p>Since Bootstrap has a set of pre-defined CSS styles we will do most of our work in the HTML document adding the necessary classes.</p><pre>&lt;h2&gt;Bootstrap 4 Flexbox Classes&lt;/h2&gt;</pre><pre>&lt;div class=”d-flex flex-row justify-content-start flex-wrap”&gt;</pre><pre>  &lt;div class=”order-sm-3&quot;&gt;Soldier 3 &lt;small&gt;I want to lead!&lt;/small&gt;  &lt;/div&gt;</pre><pre>  &lt;div class=”order-sm-1&quot;&gt;Soldier 1 &lt;small&gt;Yes sir!&lt;/small&gt;&lt;/div&gt;</pre><pre>  &lt;div class=”order-sm-2&quot;&gt;Soldier 2 &lt;small&gt;Ten hut!&lt;/small&gt;&lt;/div&gt;</pre><pre>&lt;/div&gt;&lt;! — /.flex-container →</pre><p><strong>Below is the final result.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/0*6nCOisScrS-nuWXk." /></figure><p><a href="https://codepen.io/JacobLett/pen/JOyMpy">View this example</a></p><h3>How well is flexbox supported?</h3><p>Flexbox browser support is really good except if you need to support IE9 or below. In that case, you could use a polyfill or stick to floats.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-XnnAojPUw7eCUs1FM40KQ.png" /><figcaption><a href="https://caniuse.com/#feat=flexbox">https://caniuse.com/#feat=flexbox</a></figcaption></figure><p>If you are using Flexbox without Bootstrap, you will also need to add <a href="https://stackoverflow.com/questions/36225219/what-is-the-proper-way-to-order-vendor-prefixes-for-flexbox">browser vendor prefixes</a> and work through some of the <a href="https://github.com/philipwalton/flexbugs">common bugs</a>.</p><p>Bootstrap 4 users leverage the community to continually add the proper prefixes and work through any bugs. So you won’t have to worry about those unless you do any manual overrides of Bootstrap classes.</p><h3>Other great flexbox resources</h3><p>There are a lot of great flexbox tutorials and resources available and below are some of the ones I found the most helpful in my learning and exploration.</p><p><strong>Guides</strong></p><ul><li><a href="https://css-tricks.com/snippets/css/a-guide-to-flexbox/">A Complete Guide to Flexbox</a> via css-tricks.com</li><li><a href="https://github.com/philipwalton/flexbugs">Flexbox bugs</a></li><li><a href="https://www.w3schools.com/csS/css3_flexbox.aspx">CSS3 Flexible Box</a> via W3schools.com</li><li><a href="http://flexboxfroggy.com/">Flexbox Froggy</a> — A game to help you learn flexbox</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0o7q6nQRKqBjUA5D77vI7g.png" /><figcaption>Flexbox froggy</figcaption></figure><p><strong>Code examples</strong></p><ul><li><a href="https://bootstrapcreative.com/pattern/responsive-image-gallery/">Responsive flexbox image gallery</a> — codepen</li><li><a href="https://codepen.io/justd/pen/yydezN">Flexbox properties demo</a> — codepen</li><li><a href="https://codepen.io/enxaneta/pen/adLPwv">Flexbox playground</a> — codepen</li><li><a href="https://codepen.io/JacobLett/pen/aJRQrN">Bootstrap 4 flexbox column wrapping example</a> — codepen</li></ul><h3>Conclusion &amp; Next Step</h3><p>Flexbox is really powerful and it’s fundamental to understanding <a href="https://bootstrapcreative.com/bootstrap-4-grid-explained-examples/">how the Bootstrap 4 grid works</a>. The main advantage flexbox has over float based layouts is re-ording items. The only way this can be done with floats is javascript DOM manipulation to change the source code to the desired result.</p><p>The three main components of flexbox are the flex container, flex items, and main/cross axis. The remaining properties build on that foundation.</p><p>Get a free <a href="https://bootstrapcreative.com/resources/flexbox-cheat-sheet/">flexbox cheat sheet</a> pdf to help you reference all of the properties.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WB57b2Bkonxyl73OD4kI-g.jpeg" /><figcaption><a href="https://bootstrapcreative.com/shop/bootstrap-quick-start/">Click here to learn more about the Bootstrap 4 Quick Start Book and Toolkit</a></figcaption></figure><p><em>Originally published at </em><a href="https://bootstrapcreative.com/flexbox-tutorial/"><em>bootstrapcreative.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91e39162eaa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Build a Full Width Bootstrap 4 Responsive Carousel [Tutorial]]]></title>
            <link>https://medium.com/hackernoon/build-a-full-width-bootstrap-4-responsive-carousel-tutorial-f9b603612a91?source=rss-84e81a877406------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9b603612a91</guid>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[bootstrap-4]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[bootstrap]]></category>
            <dc:creator><![CDATA[Jacob Lett]]></dc:creator>
            <pubDate>Tue, 27 Jun 2017 09:43:27 GMT</pubDate>
            <atom:updated>2017-12-19T16:16:02.645Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eh71yt2LeqnglLu-bpKV5Q.png" /></figure><h3>Do you want your <a href="https://bootstrapcreative.com/glossary/bootstrap-css/">Bootstrap</a> carousel to extend the full width of the browser window? Do your images look cut off or have unwanted padding on the left and right?</h3><p>In this tutorial we will take a closer look at the Bootstrap 4 carousel and determine the best approach in making it full width and responsive.</p><h3>Problem</h3><p>If you use the <a href="https://v4-alpha.getbootstrap.com/components/carousel/">carousel code snippet</a> from the Bootstrap 4 documentation you will notice the carousel anchor links do not wrap the entire image. In most cases, you will probably want the opposite. So for this example I am going to make this adjustment to the code.</p><p>Each image has the .img-fluid class which tells the browser to only scale the image down if it does not fit in the smaller width. But for wide windows it doesn’t scale up. But since you want to go full width, your images will appear cut off on really large screens.</p><pre>.img-fluid {max-width: 100%; height: auto;}</pre><p>In order to fix this, you will need to add the CSS rule below to your stylesheet to force your carousel image to always be full width. I first tried height:auto; so the image height would stay in the right proportion. But that did not work because the parent element .carousel-item is set to display:flex. Changing the height to 100% fixed this.</p><pre>/* <br>Forces carousel image to be 100% width and not max width of 100% <br>*/ <br>.carousel-item .img-fluid { width:100%; height:100%; }</pre><pre>/*<br>Forces carousel image to be 100% width and not max width of 100%<br>*/<br>.carousel-item .img-fluid {<br>width:100%;<br>height:100%;<br>}</pre><p><strong>This approach forces you to choose the widest image size and then load it on mobile.</strong> This is not mobile friendly because it dramatically decreases page load speed because the images have a large file size (more pixels = more load time).</p><blockquote>One of the most common causes of slow websites is large images, so we will want to correct this in our final solution.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*sLUytMWhUmlmFrgK." /><figcaption><em>Above, notice how the carousel looks super small on mobile and HUGE on wide desktops? This doesn’t look right.</em></figcaption></figure><p><strong>In the next section we will improve the following:</strong></p><ul><li>Improve the load speed by serving the right sized image at the right breakpoint</li><li>Fix the layout aesthetics of the image sizes being too small or too large</li></ul><p><a href="https://codepen.io/JacobLett/full/PjKLgK/">View demo of this example</a></p><h3>Solution</h3><p>HTML5 has introduced two different ways to handle responsive images: the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture">picture element</a> and <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-srcset">srcset img attribute</a>. Img srcset lets you specify different image resolutions based on window size and pixel density of the screen. This solves the page load problem but would not be able to make the xs and xl image proportions look better. We want the mobile image to be square and the desktop image to be a rectangle so we need more “art direction” control on what image is used and when.</p><p>The picture tag is designed for this scenario, so we will use this instead. Keep in mind, you will need to use a <a href="https://scottjehl.github.io/picturefill/">picturefill script</a> to support IE11 and below because these versions do not support the picture tag.</p><p>Below is an example of the picture tag with different images specified. See how each image source has a media query similar to CSS media queries? Following mobile first, the image tag loads the smallest image first and then swaps it out on larger sizes (smallest to biggest from the bottom up). This will improve page load significantly on mobile because it loads an image at a pixel resolution suitable for its screen size. Plus it gives you way more control of how things look at different breakpoints.</p><pre>&lt;picture&gt; <br>&lt;source srcset=”https://dummyimage.com/2000x400/007aeb/4196e5&quot; media=”(min-width: 1400px)”&gt; <br>&lt;source srcset=”https://dummyimage.com/1400x400/007aeb/4196e5&quot; media=”(min-width: 768px)”&gt; <br>&lt;source srcset=”https://dummyimage.com/800x400/007aeb/4196e5&quot; media=”(min-width: 576px)”&gt; <br>&lt;img srcset=”https://dummyimage.com/600x400/007aeb/4196e5&quot; alt=”responsive image” class=”d-block img-fluid”&gt; <br>&lt;/picture&gt;</pre><p>When setting up the image sizes and media size breakpoints, I referenced this list of <a href="http://gs.statcounter.com/screen-resolution-stats/desktop/worldwide">most common screen resolutions</a>. The second highest desktop screen size is 1920 x 1080 so I wanted to make sure i could cover that width without making the image blurry. So we are only going to load this if the image is greater than 1400px. Make the necessary adjustments based on your site analytics to target the most common screen resolutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*b4GF3jZiZVOr3Umm." /><figcaption><em>Looking good. The xs breakpoint is square and the xl is a wide rectangle. Maximizing the space and making the carousel more mobile friendly.</em></figcaption></figure><p><a href="https://codepen.io/JacobLett/full/weqOjq">View Final Solution Demo</a> | <a href="https://bootstrapcreative.com/pattern/full-width-carousel-responsive-images/">Get code</a></p><h3>Things to watch out for</h3><ul><li>Since you want your carousel to extend to the edges, keep your carousel outside of a .container or .container-fluid class because this applies left and right padding.</li><li>Using the picture element for your images requires a lot more image editing in <a href="https://clk.tradedoubler.com/click?p(264355)a(2905228)g(22804962)url(https://www.adobe.com/creativecloud/photography.html?promoid=695P7SJ9&amp;mv=other)">Adobe Photoshop</a> or similar software. If a creative change is made it will have to be applied to multiple image versions. So this will take more time.</li><li>Using placeholder images first can help figure out image sizes and breakpoints before you do any final image cropping.</li></ul><h3>Summary</h3><p>In this tutorial you learned how to customize the carousel code snippet to use responsive images and go full width. This optimization achieves better load times on mobile and gives the designer control on how the images look at the various breakpoints. The only downsides are that it requires more image editing time and needs a polyfill to support IE11 and below. But in my opinion, the pros greatly outweigh the cons.</p><blockquote>The breakpoint preview screenshots used in this tutorial were created using Robin available in the <a href="https://bootstrapcreative.com/shop/bootstrap-quick-start/#resources">Bootstrap 4 Quick Start</a>. <a href="https://bootstrapcreative.com/shop/bootstrap-quick-start/?utm_source=postctabox&amp;utm_content=op2">Get started learning responsive design basics step by step.</a></blockquote><h4>If you enjoyed this story, please click the 👏 button and share to help others find it! Feel free to leave any questions below.</h4><p><em>Originally published at </em><a href="https://bootstrapcreative.com/create-full-width-bootstrap-4-responsive-carousel/"><em>bootstrapcreative.com</em></a><em> on June 27, 2017.</em></p><figure><a href="http://bit.ly/HackernoonFB"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0hqOaABQ7XGPT-OYNgiUBg.png" /></a></figure><figure><a href="https://goo.gl/k7XYbx"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vgw1jkA6hgnvwzTsfMlnpg.png" /></a></figure><figure><a href="https://goo.gl/4ofytp"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gKBpq1ruUi0FVK2UM_I4tQ.png" /></a></figure><blockquote><a href="http://bit.ly/Hackernoon">Hacker Noon</a> is how hackers start their afternoons. We’re a part of the <a href="http://bit.ly/atAMIatAMI">@AMI</a> family. We are now <a href="http://bit.ly/hackernoonsubmission">accepting submissions</a> and happy to <a href="/service/mailto:partners@amipublications.com">discuss advertising &amp; sponsorship</a> opportunities.</blockquote><blockquote>If you enjoyed this story, we recommend reading our <a href="http://bit.ly/hackernoonlatestt">latest tech stories</a> and <a href="https://hackernoon.com/trending">trending tech stories</a>. Until next time, don’t take the realities of the world for granted!</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*35tCjoPcvq6LbB3I6Wegqw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9b603612a91" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/build-a-full-width-bootstrap-4-responsive-carousel-tutorial-f9b603612a91">How to Build a Full Width Bootstrap 4 Responsive Carousel [Tutorial]</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web design process]]></title>
            <link>https://medium.com/series/web-design-process-add8ff0a6fa6?source=rss-84e81a877406------2</link>
            <guid isPermaLink="false">https://medium.com/p/add8ff0a6fa6</guid>
            <dc:creator><![CDATA[Jacob Lett]]></dc:creator>
            <pubDate>Tue, 02 May 2017 01:55:41 GMT</pubDate>
            <atom:updated>2017-05-02T01:56:10.330Z</atom:updated>
            <content:encoded><![CDATA[<h3>Strategy</h3><h3>Protoype</h3><h3>Design</h3><h3>Delivery</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=add8ff0a6fa6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why you shouldn’t follow design trends]]></title>
            <link>https://medium.com/@BootstrapC/why-you-shouldnt-follow-design-trends-27e529aa6a7?source=rss-84e81a877406------2</link>
            <guid isPermaLink="false">https://medium.com/p/27e529aa6a7</guid>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[branding-strategy]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[design-strategy]]></category>
            <category><![CDATA[creativity]]></category>
            <dc:creator><![CDATA[Jacob Lett]]></dc:creator>
            <pubDate>Mon, 01 May 2017 23:47:39 GMT</pubDate>
            <atom:updated>2017-05-02T01:38:23.219Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m3HfZDXuP7c-bJHPBU3UuA.png" /><figcaption>Trends vs appropriate design</figcaption></figure><h3>Design Trends</h3><p>Think about all of the things you look at everyday: websites, movies, billboards, menus, youtube videos… Your eyes and brain are constantly absorbing information. All of this visual content is influencing your frame of reference. Some streams of images are more powerful and persistent than others. Take for example your computer, you could easily have looked at the same UI for the past 5 years.</p><p>This constant exposure has an impact in your familiarity with design patterns like modals, scrolling, shadows, and tabs. This full immersion could help to explain why Mac and PC users don’t mix. They have totally different visual frames of reference. Ok I know what you’re thinking… What does this have to do with responsive web design? Well, I think it is important for every designer to know and understand design trends and how they can shift over night.</p><p>The most recent example of this is the release of ios7. Instantly shifting from <a href="https://en.wikipedia.org/wiki/Skeuomorph"><em>skeuomorphism</em></a> to flat design and bright gradients.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ucUmXO_3XDdvRGNw.jpg" /></figure><h3>Influence</h3><p>But why was the shift so drastic and widespread? Because Apple had the ability to send a push notification to millions of people to update their phone. Within days people’s visual frame of reference changed. At first some resisted the change but overtime it became familiar and appealing. Visuals are now judged through a whole new frame of reference. Apple is just one source of influence. The internet hands the keys of influence to those with the largest following or user base. Instantly code updates can change your Facebook wall. Or if a new music album comes out the artwork is pushed to iTunes, Spotify, Pandora, and YouTube influencing your frame of reference because it is everywhere you look.</p><p><strong>Below are some major influencers</strong></p><ul><li><strong>Websites </strong>(Google, Facebook, Amazon, etc.)</li><li><strong>Media</strong> (music artwork, books, movies, magazines, etc.)</li><li><strong>Operating systems</strong> (iOs, Android, Windows, etc.)</li><li><strong>Web platforms and frameworks </strong>(WordPress, Bootstrap CSS, Foundation)</li></ul><blockquote><em>“ The themes in WordPress drive a lot of design trends. You make a theme, and suddenly it’s on hundreds and thousands of sites.”<br>- </em><a href="https://wordpress.org/themes/author/wordpressdotorg/"><em>Matt Mullenweg</em></a></blockquote><p>The reason I tell you this is because you could spend a ton of time to complete a website that your client or boss loves. Then 3 months down the road they ask for a re-design because they want something “fresh”. This is the danger of trends. They can come and go so fast. For some, this is ok because the redesign is more work and more revenue. But I believe it dilutes your expertise as a designer to know what is appropriate for your client’s business. The last thing you want is the decision maker to drive your design. You want them to trust your eye because you understand the important role visuals play… in telling a story.</p><p>I believe it is good to be aware of trends but use them when appropriate. The last thing you want to do is use a trend just because it looks good. Every design element should have some rationale for using it. If someone asks you, “Why did you use X?” You should have a strong reason to back it up. This demonstrates your thinking and deep concern for their business.</p><h3>Appropriate Design</h3><p>The best way to reach an appropriate design is to ask a lot of questions. Each question you ask yourself will push you to dig deeper and consider all options. Before I present any wireframes or designs to a client I always have them review and sign off on a design strategy. The strategy brief is a few short paragraphs outlining the best approach to achieve the business goals and effectively serve the site visitors. You first outline the criteria or things you will consider when coming up with your solution. Then after you think through your research you write a short paragraph outlining your design solution. The things you considered when coming up with your design strategy.</p><p><strong>Below are some questions you could ask in your research.</strong></p><ul><li>What are my site visitors current visual frame of reference?</li><li>What can influence them the most?</li><li>What websites and operating systems do they use?</li><li>What do my competitor sites look like?</li><li>Any patterns?</li><li>What do my site visitors expect to see?</li><li>What will throw them off?</li><li>How do I want them to feel when they use the site or app?</li><li>What is their primary goal visiting the site? What do they want to know or do?</li></ul><p>A design strategy is nothing more than a summary of what you plan to do. Taking in all of your research and what you know about the business, design constraints, user goals, etc. If something in your design is ornament for ornament sake… ask yourself is it really necessary? Is it appropriate for my client and customer? Will they miss it if it’s gone?</p><h3>Conclusion</h3><p>As you can see the internet has changed design trends forever. With a push a button a brand or application can force people to relearn what is cool and considered good design. It all comes from trust. We trust brands to show us what should be followed. Awareness of this influence will force designers to provide strong reasons why a design element is used. Otherwise their trendy design could become the next re-design.</p><p><strong>If you like this please</strong> ❤</p><p>Originally posted on <a href="https://bootstrapcreative.com/design-trends-power-influence-appropriate-design/">BootstrapCreative</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27e529aa6a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Make the Transition From Print Design to Web Design]]></title>
            <link>https://medium.com/@BootstrapC/how-i-transitioned-from-print-design-to-web-design-d5160bc5225d?source=rss-84e81a877406------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5160bc5225d</guid>
            <category><![CDATA[graphic-design]]></category>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Jacob Lett]]></dc:creator>
            <pubDate>Sat, 01 Apr 2017 18:32:28 GMT</pubDate>
            <atom:updated>2017-07-18T10:04:06.658Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LJaafwOygIxhmlR7j8MjUA.png" /><figcaption>Learning HTML, CSS, and some JQuery was hard and confusing. But I am glad I crossed the bridge.</figcaption></figure><p>Early in my career I worked as a graphic designer for an advertising agency. I mostly designed brochures and sales flyers but on one project we discussed building a website to get leads.</p><p>After I had the design ready we met with the development team to discuss the project. Half way through the meeting I presented an idea on how something <em>could</em> function.</p><p>The developers didn’t even look up at me and just stared at their laptops.</p><blockquote><em>Did I say something wrong? Or did I </em><strong><em>just not get it</em></strong><em>?</em></blockquote><p>It was from that day on that I knew if I really wanted to design websites I also had to know how they worked.</p><p>Otherwise I would just keep frustrating the developers I worked with and end up wondering why the finished website did not match my design in Photoshop.</p><p>Since I already used <a href="https://clk.tradedoubler.com/click?p(264355)a(2905228)g(22804962)url(https://www.adobe.com/creativecloud/photography.html)">Adobe Photoshop</a> I followed <a href="https://www.youtube.com/playlist?list=PL7646335BD1B09ABF">this tutorial series</a> by Chris Coyier of css-tricks.com. After following this workflow on a few personal projects I gained the confidence and portfolio examples to try and look for a position that had more of a development focus.</p><p>After a few months of searching, I finally was offered a job as a front-end web designer where I worked with a small team to design and<a href="http://jacoblett.com/digital-original-poetry-website-redesign-michigan"> build a website for people who enjoyed poetry</a>.</p><p>But the first day on the job panic set in… I was overwhelmed with new terms and technologies I had never heard of before. Things like SVN version control, PHP, Zend Framework, and the command line?</p><p>I thought I was going to be exposed as an imposter and get fired. But instead, my boss and coworkers helped me and pushed me to learn.</p><p>My frantic pace of google searches and stack overflow posts lessened over time as I started to gain confidence. But even to this day I still learn as a I go. It’s impossible to consume a book or documentation and expect to retain it all.</p><p>For me, the repetition of common tasks is what helps you remember the most important parts. When you get stuck, you have to be able to work through it and find training or reference material.</p><h4>Conclusion</h4><p>I am glad I first learned how to design logos, brochures, and printed material. I learned the craft of thinking, sketching, creating digital files, and holding a finished piece in my hands. I find it interesting how you can do crazy things in InDesign in the digital world but it ends up just being ink pressed onto paper.</p><p>With web design I have learned to appreciate order, systems, and components. And when you write beautiful code it often outputs to a beautiful design in the browser. You also have the benefit to see how people interact with your designs. And they can be improved over time.</p><p>If you are on the fence on whether you should learn HTML, CSS, and JavaScript I highly recommend it. The web is a beautiful place.</p><p>Like this? Please click ❤ below so other people can find it. Thank you!</p><p><em>Originally published at </em><a href="https://bootstrapcreative.com/going-print-design-web-design-learning-story/"><em>bootstrapcreative.com</em></a><em> on April 1, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5160bc5225d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sparky Bootstrap 3 Sass Starter Project and Tutorial]]></title>
            <link>https://medium.com/@BootstrapC/sparky-bootstrap-3-sass-starter-project-and-tutorial-cf067fb2deac?source=rss-84e81a877406------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf067fb2deac</guid>
            <category><![CDATA[grunt]]></category>
            <category><![CDATA[bootstrap]]></category>
            <category><![CDATA[scss]]></category>
            <category><![CDATA[webdesign-tools]]></category>
            <dc:creator><![CDATA[Jacob Lett]]></dc:creator>
            <pubDate>Wed, 01 Feb 2017 10:45:09 GMT</pubDate>
            <atom:updated>2017-04-07T14:30:32.113Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vJct6ehhm8gW8QlG.png" /></figure><p>It was a challenge for me to understand Grunt, Sass, and GitHub. So I decided to share a starter project I use for each Bootstrap 3 Sass project as well as a video tutorial series to help you learn the workflow..</p><p><a href="https://github.com/JacobLett/Sparky">Sparky: A Bootstrap 3 Sass starter project</a><br> I created a starter project that provides a gruntfile with the tasks you need to watch your folder for code changes and then convert Sass to CSS. It also adds any necessary browser prefixes like -moz, and -webkit.</p><p><a href="https://www.youtube.com/playlist?list=PLg0WZ0G7kSNLLK85vTyUuXrmhC5CBEfmD">Starting Frontend Sass Development with Node.js, Grunt and Bootstrap 3 (YouTube tutorial)</a><br> For those of you who are brand new to Grunt and Node.js projects, I created a 7 part video series showing you how to get setup. I also show you how to test your site locally and with GitHub pages.</p><p><a href="https://bootstrapcreative.com/resources/bootstrap-3-sass-variables-reference/">Bootstrap 3 Sass Variables Reference</a><br> The _variables.scss has a long list variables so I thought it would be helpful to have a printout to read through what is possible to modify in this file.</p><p>I hope this helps you avoid some of the frustration and lost time I faced.</p><p><em>Originally published at </em><a href="https://bootstrapcreative.com/bootsrap-3-sass-starter-sparky/"><em>BootstrapCreative</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf067fb2deac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bootstrap Push Pull Column Ordering Tutorial]]></title>
            <link>https://medium.com/@BootstrapC/bootstrap-push-pull-column-ordering-tutorial-59af58bd98de?source=rss-84e81a877406------2</link>
            <guid isPermaLink="false">https://medium.com/p/59af58bd98de</guid>
            <category><![CDATA[twitter-bootstrap]]></category>
            <category><![CDATA[bootstrap-css-framework]]></category>
            <category><![CDATA[bootstrap-4]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[bootstrap]]></category>
            <dc:creator><![CDATA[Jacob Lett]]></dc:creator>
            <pubDate>Mon, 19 Dec 2016 11:12:05 GMT</pubDate>
            <atom:updated>2017-04-07T15:09:31.068Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Change Column Order with Bootstrap 4</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*31Lzi76-TFZJMzcf.png" /></figure><p>With <a href="http://v4-alpha.getbootstrap.com/layout/grid/#example-column-ordering">Bootstrap column ordering</a> it is best to start out understanding how the natural or default column ordering works. When your browser reads your HTML code it reads from the top and works its way down reading left to right. So in a two column grid, the first column will be the first one it finds under the .row class.</p><figure><img alt="change-the-order-of-columns-mobile-up" src="https://cdn-images-1.medium.com/max/755/0*yoyMMh47ZCUXPnlh.png" /></figure><p>A web browser reads code from the top down</p><h4>Remember Mobile first</h4><p>There is no .push-xs-6 class because Bootstrap is a mobile first framework. What is mobile first? It basically means the HTML and CSS you first send to the browser are for mobile devices. So you should write your HTML markup in the order you want it show up on mobile. Then use the push pull classes to rearrange things on larger devices like a forklift moves boxes around..</p><h4>Below is the result of the code above.</h4><p>A two column grid with the images 100% width of the column.</p><figure><img alt="natural bootstrap column ordering" src="https://cdn-images-1.medium.com/max/1024/0*8goMpq3D_Sr6zefH.png" /></figure><h4>Now, how would you make B column swap positions with A column?</h4><p>Using Bootstrap’s push and pull classes you can essentially move columns around like a forklift.</p><pre>&lt;h2&gt;With column ordering&lt;/h2&gt;<br>  &lt;div class=&quot;row&quot;&gt;<br>    &lt;div class=&quot;col-sm-6 push-sm-6&quot;&gt;<br>      &lt;img src=&quot;https://dummyimage.com/400x400/000/fff&amp;text=A&quot; alt=&quot;&quot; class=&quot;w-100&quot; /&gt;<br>    &lt;/div&gt;<br>    &lt;div class=&quot;col-sm-6 pull-sm-6&quot;&gt;<br>      &lt;img src=&quot;https://dummyimage.com/400x400/000/fff&amp;text=B&quot; alt=&quot;&quot; class=&quot;w-100&quot; /&gt;<br>    &lt;/div&gt;<br>  &lt;/div&gt;</pre><h4>.push-sm-6</h4><p>Add this class to first column to push it 6 columns to the right. <a href="https://bootstrapcreative.com/bootstrap-4-grid-explained-examples/">Remember Bootstrap is based on a 12 point grid system.</a></p><figure><img alt="push column" src="https://cdn-images-1.medium.com/max/1024/0*4nWokq8G3pQWXAf9.png" /></figure><h4>.pull-sm-6</h4><p>Now add this class to the second column to move the column to the left 6 spots.</p><p>So our two column grid still equals 12 total columns.</p><figure><img alt="screen-shot-2016-12-19-at-5-23-01-am" src="https://cdn-images-1.medium.com/max/1024/0*hzYPZq6bBCLKa8HT.png" /></figure><h4>Conclusion</h4><p>The most important thing to remember is the Bootstrap CSS Framework is <strong>mobile first. </strong>Write your markup how you want it to be displayed on mobile devices. Then apply the push and pull classes to reorder things at different breakpoints. Always keeping in mind your push pull classes need to add up to 12 columns.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2FJacobLett%2Fembed%2Fpreview%2FxRadPZ%3Fheight%3D600%26amp%3Bslug-hash%3DxRadPZ%26amp%3Bdefault-tabs%3Dhtml%2Cresult%26amp%3Bhost%3Dhttp%253A%252F%252Fcodepen.io%26amp%3Bembed-version%3D2&amp;url=https%3A%2F%2Fcodepen.io%2FJacobLett%2Fpen%2FxRadPZ%2F&amp;image=https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fi.cdpn.io%2F172219.xRadPZ.small.2db7e160-5ca4-4b11-90e9-adf20eccc463.png&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/fdc38aaa4564910393b6cd8a24443b59/href">https://medium.com/media/fdc38aaa4564910393b6cd8a24443b59/href</a></iframe><p>Like this? Please click ❤ below so other people can find it. Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59af58bd98de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bootstrap 4 Grid Explained with Examples]]></title>
            <link>https://medium.com/@BootstrapC/bootstrap-4-grid-explained-with-examples-d6482daf7c22?source=rss-84e81a877406------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6482daf7c22</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[bootstrap-4]]></category>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[twitter-bootstrap]]></category>
            <category><![CDATA[bootstrap]]></category>
            <dc:creator><![CDATA[Jacob Lett]]></dc:creator>
            <pubDate>Tue, 22 Nov 2016 11:04:00 GMT</pubDate>
            <atom:updated>2017-07-29T23:43:33.849Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bS7Mb0c2fhLj7Td3.png" /></figure><p>The most important element of any CSS framework is the grid system. The Bootstrap grid has been used on many websites worldwide which makes it extremely stable. This cross-browser support is why you probably are considering using Bootstrap for your website (it was for me). In this post I will provide an overview of the grid and provide examples to help you quickly apply it to your projects.</p><p>Before you begin you need to know what set of web browsers you are going to support. This will determine what browsers you actively test because a large percentage of your users will use one of these browsers.</p><h3>Have you used Bootstrap before?</h3><p>If you have used a previous version of Bootstrap the major change is the addition of the new xl grid tier. The name implies its accommodating larger screens but it actually is the opposite. Adding another small screen size and shifting everything to the right. This new breakpoint will help give more control to smaller screens. To learn more about whats new in Bootstrap 4, I highly recommend this <a href="https://medium.com/wdstack/bootstrap-4-whats-new-visual-guide-c84dd81d8387">Bootstrap 4 visual reference</a>.</p><h4>What Versions of Internet Explorer Do You Need to Support?</h4><p>So how do you know what browsers to support? If you are redesigning an existing site, I suggest looking at your Google Analytics to see what browser the majority of your site visitors use. Look for trends to determine if you remove support for an older browser because it is trending downward quickly.</p><p>If you have no analytics to work with I suggest looking at <a href="http://gs.statcounter.com/#desktop-browser_version-ww-monthly-201608-201610-map">StatCounter</a> to see the top browsers in your country. But from my experience, it is best to have a clear understanding of your ideal site visitor. Because there are a lot of factors, tools like StatCounter do not factor in. One of those being corporate environments that are slow to upgrade to newer browsers. For example, my workplace currently has Windows 7 with IE8.</p><p>Once you have your data and some assumptions follow this little decision tree to determine what Bootstrap version you should use.</p><h4>I need to support IE10+</h4><p><a href="http://v4-alpha.getbootstrap.com/layout/flexbox-grid/">Use Bootstrap 4 with flexbox grid</a> — <a href="https://www.youtube.com/watch?v=hNCkHsOTJT4">Lucky….</a> :)</p><h4>I need to support IE9+</h4><p><a href="http://v4-alpha.getbootstrap.com/layout/grid/">Use Bootstrap 4 default grid</a> — This is the option I use for my demos and projects because I believe it to be the safest and widest supported.</p><h4>I need to support IE8+</h4><p><a href="http://getbootstrap.com/">Use Bootstrap 3</a></p><h3>Bootstrap Uses a 12 Column Grid</h3><p>The Bootstrap grid system is based on a 12 column grid. So your column sizes will need to equal 12.</p><figure><img alt="screen-shot-2016-11-22-at-5-36-41-am" src="https://cdn-images-1.medium.com/max/974/0*V49V8yH0VMqWeVvu.png" /></figure><p>I created <a href="http://codepen.io/JacobLett/pen/qqrVow">this pen</a> that has a collection of common grid structures to help you visualize how to build them.</p><figure><img alt="common-bootstrap-grid-layouts" src="https://cdn-images-1.medium.com/max/700/0*5WrzOyElC4rjpars.jpg" /></figure><blockquote>All horizontal column spans need to equal 12.</blockquote><h3>The Bootstrap Grid System Has Three Main Parts: Container, Row, Columns</h3><p>When working with the Bootstrap 12 column grid you have to keep in mind the order of elements and that there are always three parts: a <strong>C</strong>ontainer, a <strong>R</strong>ow, and any number of <strong>c</strong>olumns.</p><p>If you want all of your page content to be constrained to a max-width, you would just need one .container on your entire page. Then use a series of row blocks with column divs to build your grid. If your design has no horizontal color banding you could set .container to the body tag. However, there is a trend to have a horizontal background colors with the content set to a max-width. The way I achieve this effect is using a <a href="http://codepen.io/JacobLett/pen/YpZbqY">section tag with a background color set to it</a>.</p><figure><img alt="Section with a background color to achieve color banding and constrained content." src="https://cdn-images-1.medium.com/max/817/0*5RvxjA6cJl-1XbsR.png" /></figure><h4>If you are familiar with an HTML table structure the grid system is every similar.</h4><p><strong>For example: </strong>table &gt; tr &gt; td<br><strong>is like: </strong>.container &gt; .row &gt; .col-sm-6</p><h3>The Three Parts of the Grid Explained</h3><h4><strong>C</strong> — .container or .container-fluid</h4><p>This is the parent container that determines if the columns should be full-width or not.</p><h4><strong>R</strong> — .row</h4><p>A horizontal wrapping container for the series of columns it contains. It essentially clears the floated columns</p><h4><strong>C</strong> — .column</h4><p>A column is a vertical division similar to a table cell. This is where your content goes and has built in margin to the left and right to prevent text and images from touching each other. The default grid uses floating divs to achieve the horizontal columns.</p><p>Columns also have grid tiers which tell the columns how they should look at different breakpoints. In the example below I used .col-sm-6 which essentially says, “When the browser window is 576px or higher make this column span 6 of the 12 columns. For anything below 576px make it full width.” So when you declare a grid tier you are saying make it this size for the <strong>specified tier and up</strong>.</p><h3>The Bootstrap Grid Has Five Media Query Breakpoints</h3><ol><li><strong>xs</strong> = Extra small &lt;576px</li><li><strong>sm</strong> = Small ≥576px</li><li><strong>md</strong> = Medium ≥768px</li><li><strong>lg</strong> = Large ≥992px</li><li><strong>xl</strong> = Extra large ≥1200px</li></ol><h3>Demo of how the classes work together</h3><figure><img alt="screen-shot-2016-11-22-at-4-44-02-am" src="https://cdn-images-1.medium.com/max/717/0*AC0E9GR_D7pqOazA.png" /></figure><h3>What About Grid Nesting?</h3><p>You can achieve column nesting by adding a .row and columns inside another column. <a href="http://v4-alpha.getbootstrap.com/layout/grid/#example-nesting-columns">Read the documentation for further examples.</a></p><figure><img alt="screen-shot-2016-11-22-at-5-18-43-am" src="https://cdn-images-1.medium.com/max/732/0*CBGIraIdCGtsrL9N.png" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2FJacobLett%2Fembed%2Fpreview%2FZBevEm%3Fheight%3D600%26amp%3Bslug-hash%3DZBevEm%26amp%3Bdefault-tabs%3Dhtml%2Cresult%26amp%3Bhost%3Dhttp%253A%252F%252Fcodepen.io%26amp%3Bembed-version%3D2&amp;url=https%3A%2F%2Fcodepen.io%2FJacobLett%2Fpen%2FZBevEm%2F&amp;image=https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fi.cdpn.io%2F172219.ZBevEm.small.b706cbfd-07a7-4a0e-85fb-c0a4b8cc6792.png&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/02e3e9d80969b686869563db35f3fcc8/href">https://medium.com/media/02e3e9d80969b686869563db35f3fcc8/href</a></iframe><h3>Conclusion</h3><p>You should now have a good understanding of <a href="http://v4-alpha.getbootstrap.com/layout/grid/">Bootstrap CSS Grid System</a> and be confident to use it in your next project. It is extremely customizable and helps you be more efficient in building a page layout.</p><p>If you have any questions please let me know in the comment box below.</p><h4>Key points</h4><ul><li>Uses a 12 column grid and the number of columns have to equal 12</li><li>CRC — .container &gt; .row &gt; .col-*-*</li><li>Most projects will just need one .container unless you want to do <a href="http://codepen.io/JacobLett/pen/YpZbqY">colored row banding</a></li><li>Setting a grid tier like .col-sm-6 says for <strong>sm and up</strong></li></ul><h3>Call to Action</h3><p><a href="http://bootstrapcreative.com/shop/bootstrap-quick-start/">Signup</a> to receive a free book sample of my <em>Bootstrap 4 Quick Start</em> training or read more Bootstrap tutorials <em>at </em><a href="https://bootstrapcreative.com/bootstrap-4-grid-explained-examples/"><em>BootstrapCreative</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6482daf7c22" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Top 5 Struggles I Faced Learning How to Build Websites]]></title>
            <link>https://medium.com/@BootstrapC/my-top-5-struggles-i-faced-learning-how-to-build-websites-19afdd309ca3?source=rss-84e81a877406------2</link>
            <guid isPermaLink="false">https://medium.com/p/19afdd309ca3</guid>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[html-css]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Jacob Lett]]></dc:creator>
            <pubDate>Mon, 07 Nov 2016 10:25:52 GMT</pubDate>
            <atom:updated>2017-07-29T23:48:10.859Z</atom:updated>
            <content:encoded><![CDATA[<h3>5 Common Challenges Web Design Beginners Have … And How to Solve Them</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*i0SvW50MPViD6Ql7.png" /><figcaption>Sometimes you can feel stuck like this. It is normal.</figcaption></figure><p>When I started, I began building websites using Adobe Dreamweaver because I could see a visual output of what I was building. This was familiar to me because I was used to designing in Illustrator and Photoshop. However, when the site wasn’t working I had no choice but to use the source code tab and try and troubleshoot the problem. I was overwhelmed with all of the robotic text that made absolute no sense and it was all disorganized and hard to read. The frustration of not knowing how to fix buggy Dreamweaver code pushed me to learn how to hand-code HTML and CSS. In this post I will discuss the top five struggles I faced and my recommendations for how you can avoid them.</p><h3>1. Why does my site look different across browsers?</h3><p>One of the biggest frustrations I faced early on was cross-browser consistency. Things look great in one browser and not so much on other browsers. When I started, IE6 was widely used and web developer tools like Firebug were just being introduced. Today I work and test extensively in Chrome until I get the rough framework in place. Then I test this draft in the other browsers I want to support, mainly IE, Firefox, and iPhone Safari.</p><h4>Try this</h4><ul><li>Test prototypes early before adding tons of styles. This will ensure the most basic styles are working before you add more complexity.</li><li>Write CSS for your most common users and decision makers. <strong>Make sure you know what browser your boss or client uses and make sure it looks great in that browser.</strong> Otherwise they will assume it looks wrong everywhere.</li><li>Be aware of what CSS properties are widely supported across browsers and avoid the ones that are still being worked out. A great resource to find out is <a href="http://caniuse.com/">Can I Use</a>.</li><li><strong>Using a CSS framework like </strong><a href="http://getbootstrap.com/"><strong>Bootstrap</strong></a><strong> eliminates 80–90% of the things you could do wrong.</strong> Since it is widely used and open source, the code is highly stable due to the rigourous testing and bug tracking. Responsive design adds multiple layers of complexity to a project and using a framework will help you stay consistent and stand on the shoulders of giants. For smaller projects you could create a custom CSS framework or use <a href="http://purecss.io/">Pure CSS</a> to apply a quick responsive grid.</li><li>Over time you will learn the common browser bugs and quirks. Here is a <a href="http://wtfhtmlcss.com/">good list of common gotchas</a>.</li></ul><h4>Tools that help with testing</h4><ul><li><a href="https://crossbrowsertesting.com/">Cross Browser Testing</a></li><li><a href="https://www.browserstack.com/">BrowserStack</a></li><li>If you own a mac, you can download the <a href="https://developer.apple.com/library/content/documentation/IDEs/Conceptual/iOS_Simulator_Guide/Introduction/Introduction.html">iPhone SDK</a> to test sites using an iPhone simulator</li></ul><h3>2. How do I get my first job or paying client?</h3><p>Are you looking to earn some side income or want to transition into a new career building websites? When I started I first learned how to build a <a href="http://jacoblett.com/">static portfolio site</a> to help me showcase some of the projects I was building. Building a static site will help you learn the building blocks of HTML, CSS, and some PHP. In addition, you will gain experience purchasing a domain, setting up a web host, and uploading files to a server.</p><p>Once you have a static portfolio site, learn how build a custom WordPress theme. Build a WordPress site for a friend or family member for free to gain the knowledge. Once you feel confident I recommend looking for some freelance projects on Craigslist or similar site for WordPress updates or customization work. This will help you gain some practice working with clients and billing them. Then start bidding on larger projects or custom theme builds. After you gain 5–6 really strong projects you are ready to start applying for jobs as a front-end developer. Just be forthcoming with your experience and list your core competency.</p><h4>Your goal is to have a conversation with a hiring manager like C3PO.</h4><p>If you lack knowledge in an area, explain how your knowledge in another area applies and will help you gain this new knowledge.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FMspVCc0_R3g%3Fstart%3D37%26feature%3Doembed%26start%3D37&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DMspVCc0_R3g&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FMspVCc0_R3g%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1027058a3c5895601dd3ad27d37ffb59/href">https://medium.com/media/1027058a3c5895601dd3ad27d37ffb59/href</a></iframe><h4>Progression of gaining and demonstrating competency</h4><ol><li><strong>Static portfolio site</strong></li></ol><ul><li>Use PHP includes of partial code (header, footer, sidebar)</li><li>Setup pretty urls without file extension and trailing slash using htaccess</li><li>Work locally then FTP to a web server</li></ul><ol><li><strong>Custom WordPress theme</strong></li></ol><ul><li>Learn WordPress loop and template tags</li><li>Installing plugins</li><li>Site management and client relationships</li></ul><h3>3. How am I supposed to remember everything?</h3><p>Its impossible to remember every class, function, and element. The more sites you build the more you will be able to recall the most used classes. For everything else have easy access to reference sites, books, cheat sheets, QA forums to get help when you need it.</p><blockquote><strong>“Repetition is the mother of learning, the father of action, which makes it the architect of accomplishment.”</strong> ― Zig Ziglar</blockquote><h4>Good places for reference</h4><ul><li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference">CSS Reference</a></li><li><a href="https://bootstrapcreative.com/resources/bootstrap-4-css-classes-index/">Bootstrap 4 Classes Reference</a> — <a href="https://bootstrapcreative.com/resources/bootstrap-3-css-classes-index/">Bootstrap 3 Classes Reference</a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element">HTML Reference</a></li><li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript">JavaScript Reference</a></li><li><a href="http://api.jquery.com/">jQuery Reference</a></li><li><a href="http://stackoverflow.com/questions/18772052/complete-list-of-bootstrap-classes/35267225?noredirect=1#comment68128224_35267225">Stack Overflow</a></li><li><a href="https://www.facebook.com/groups/532829576907024/">Bootstrap CSS for Beginners Public Facebook Group</a></li></ul><blockquote>“Never memorize something that you can look up.” ― Albert Einstein</blockquote><h3>4. What are the best practices I should follow?</h3><p>It is a good idea for beginners to learn the best practices early on to help solidify strong habits. There are thousands of books, blog posts, podcasts, and YouTube videos providing advice on the best practices to follow. It is my recommendation to stick to long-standing authorities with a large following. This will ensure the information provided is vetted by a large number of people and of high quality.</p><h4>Web development best practices</h4><ul><li><a href="http://codeguide.co/">Code guide</a> written by the creator of Bootstrap</li><li>Guide on how to do a <a href="https://css-tricks.com/what-a-css-code-review-might-look-like/">CSS code review</a></li><li><strong>In my opinion, Bootstrap is built and maintained by the best minds in front-end development.</strong> Try and model your code by what they do with their <a href="http://getbootstrap.com/">source code</a>.</li><li>Read and follow high quality blogs and resources like the following: <a href="https://css-tricks.com/">CSS-Tricks</a>, <a href="http://alistapart.com/">A List Apart</a>, <a href="https://24ways.org/">24 Ways,</a> and <a href="http://ssearch.oreilly.com/?q=css&amp;x=0&amp;y=0">Oreilly Books</a>.</li><li><a href="https://design.google.com/">Google Design Blog</a></li></ul><h3>5. How do I test websites locally?</h3><p>The easiest way to start testing sites locally is using a tool called XAMPP on windows or<a href="https://www.mamp.info/en/"> MAMP</a> on a mac. It lets you run PHP, apache, and even phpMyAdmin for MySQL database configuration.</p><p>The tutorial below demonstrates how you can setup a local server using XAMPP.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fntib6DoezzA%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dntib6DoezzA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fntib6DoezzA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/787c9fba4b925890889c49514a797189/href">https://medium.com/media/787c9fba4b925890889c49514a797189/href</a></iframe><p><a href="https://css-tricks.com/video-screencasts/86-mamp/">This tutorial</a> will help you setup MAMP on a mac machine.</p><h3>Conclusion</h3><p>I think the best decision I made early on was to ditch Dreamweaver and learn how to hand-code HTML/CSS using a basic text editor. It was hard to understand and I encountered a lot of bugs but this helped me understand what Dreamweaver was doing for me. I soon realized I didn’t need it anymore because I had the confidence to work with the source code and knew how to troubleshoot things if things went wrong. I hope this list of my top struggles help you avoid the same.</p><h3>Call to action</h3><p>Thank you for reading, you can get a free <a href="https://bootstrapcreative.com/resources/bootstrap-4-css-classes-index/">Bootstrap 4 cheat sheet</a> on my website <em>at </em><a href="https://bootstrapcreative.com/top-5-struggles-faced-learning-build-websites/"><em>BootstrapCreative</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19afdd309ca3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yoast Breadcrumbs CSS Styles for Wordpress Templates]]></title>
            <link>https://medium.com/@BootstrapC/yoast-breadcrumbs-css-styles-for-wordpress-templates-d1b4d1452d8c?source=rss-84e81a877406------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1b4d1452d8c</guid>
            <category><![CDATA[wordpress-theming]]></category>
            <dc:creator><![CDATA[Jacob Lett]]></dc:creator>
            <pubDate>Thu, 28 Apr 2016 15:37:01 GMT</pubDate>
            <atom:updated>2021-08-26T08:24:36.039Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RKEcwJ5KDkIIiY7r.png" /></figure><p>The Yoast SEO plugin is great and offers a nice breadcrumbs snippet. Unfortunately, there is not an easy way to add a wrapper ID or class to the breadcrumbs for styling. Follow the steps below to change that.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c5d65f1943890ec52d5cc8c6d9839ac3/href">https://medium.com/media/c5d65f1943890ec52d5cc8c6d9839ac3/href</a></iframe><p>Written by: <a href="https://bootstrapcreative.com/about/">Jacob Lett</a> — An experienced <a href="https://bootstrapcreative.com/services/">HubSpot website design &amp; optimization consultant</a> who helps B2B businesses grow their revenue. He creates <a href="https://bootstrapcreative.com/shop/">HubSpot themes &amp; templates</a> to help manufacturers quickly build their website on the HubSpot CMS platform. <a href="https://www.linkedin.com/in/jacoblett/">Connect on LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1b4d1452d8c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>