<?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 Tafang Joshua on Medium]]></title>
        <description><![CDATA[Stories by Tafang Joshua on Medium]]></description>
        <link>https://medium.com/@tafodinho?source=rss-1d8daa21378b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*ggZf7IxJ8OUZ6bvSz8GdUg.jpeg</url>
            <title>Stories by Tafang Joshua on Medium</title>
            <link>https://medium.com/@tafodinho?source=rss-1d8daa21378b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 20:11:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tafodinho/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[Responsive Design Techniques]]></title>
            <link>https://medium.com/@tafodinho/responsive-design-techniques-cdb0f7d32f4?source=rss-1d8daa21378b------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdb0f7d32f4</guid>
            <category><![CDATA[responsive-design]]></category>
            <category><![CDATA[point-break]]></category>
            <category><![CDATA[meida-queries]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[mobile-responsive]]></category>
            <dc:creator><![CDATA[Tafang Joshua]]></dc:creator>
            <pubDate>Tue, 21 May 2019 16:56:09 GMT</pubDate>
            <atom:updated>2019-05-21T17:10:52.855Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Some Responsive Design Techniques</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qAAUqLpnaNUhQFmY7Gu2kA.jpeg" /><figcaption>Sony Ericsson XPERIA X1</figcaption></figure><p>Think about media query as additional styling you add to your CSS to make your website appear without distortion or appear with a particular design on various device screens sizes. When I started designing user interfaces and trying to make them responsive I had the problem of determining at which screen widths should I change the appearance of my elements so that they can better fit on the screen. I did some research and I found out that they are particular screen widths (“standards”) at which it is most appropriate to apply changes to how our interfaces appear so that it is consistent or doesn’t break the design structure. In this post I am going to elaborate on some of those width values at which it is most appropriate to use as breakpoints for our responsive interfaces, some styling techniques we can use to make our pages more responsive on various device screens and some good practices to keep our design consistent.</p><p><strong>Defining breakpoints</strong></p><p>First of all what are breakpoints because I know this will be somehow strange to some people as it was to me when I just saw it. Breakpoints are those points (device widths) at which the contents of a site will respond in other to provide a user with the best possible layout to consume information. So basically there are two approaches to a responsive design. We have the mobile first and desktop first approach. Some people argue that the mobile first is the best approach to a responsive design while others say the desktop first approach is the best. I really don’t have a pick here as it depends on the particular individual and which device type is being targeted the most for the application. Let us elaborate a little bit about these two approaches and see which one will suit best for which case.</p><p>The mobile first approach allows you to layout the content that is most important to your users in a clear and logical way on the smallest screen real-estate. This will force you to really identify what is the most important information on your site that needs to be displayed on a small device.</p><p>It is at this point that the majority of your branding and style work is done.</p><p>In the Desktop first approach, we target our design for the highest resolution and then move down to smaller resolutions. This is the direct opposite of the mobile first.</p><p>So the technique of creating a responsive layout usually involves targeting all the column classes that give them their width and overriding them by giving a block display width of 100%, 50% or even 75% depending on the screen size. This is the design technique that I use and it usually turns out to work perfectly well for me. An example code looks like this</p><p>@media screen and (max-width: 760px) {</p><p>[class*=’col-’] {</p><p>float: none;</p><p>width: 100% !important;</p><p>display: block !important;</p><p>}</p><p>}</p><p>This code targets devices with screen widths less than or equal to 760px and instructs them to set a new display of style and change the element’s width to 100%.</p><p>In conclusion, what I have noticed with my experience in developing responsive websites is instead of being concerned with device breakpoints the best practice is to design for your desired viewport first. As you expand/constrict that view there will come a point at which the design looks terrible. This is where you add a breakpoint. But if you want some values for breakpoints for general device widths below are some examples</p><p>@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {</p><p>/* Styles */</p><p>}</p><p>/* Smartphones (landscape) — — — — — — */</p><p>@media only screen and (min-width : 321px) {</p><p>/* Styles */</p><p>}</p><p>/* Smartphones (portrait) — — — — — — */</p><p>@media only screen and (max-width : 320px) {</p><p>/* Styles */</p><p>}</p><p>/* iPads — — — — — — */</p><p>@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {</p><p>/* Styles */</p><p>}</p><p>/* Desktops and laptops — — — — — — */</p><p>@media only screen and (min-width : 1224px) {</p><p>/* Styles */</p><p>}</p><p>/* Large screens — — — — — — */</p><p>@media only screen and (min-width : 1824px) {</p><p>/* Styles */</p><p>}</p><p>These are some responsive ideas you can use to make your website better.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdb0f7d32f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>