<?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 Animesh Saraswat on Medium]]></title>
        <description><![CDATA[Stories by Animesh Saraswat on Medium]]></description>
        <link>https://medium.com/@animesh.s0211?source=rss-7b0732f9f498------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*nRWarQtplOE3Z2J-.</url>
            <title>Stories by Animesh Saraswat on Medium</title>
            <link>https://medium.com/@animesh.s0211?source=rss-7b0732f9f498------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 09:34:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@animesh.s0211/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[Flexible Horizontal Scroll]]></title>
            <link>https://medium.com/@animesh.s0211/flexible-horizontal-scroll-42d9430f26e?source=rss-7b0732f9f498------2</link>
            <guid isPermaLink="false">https://medium.com/p/42d9430f26e</guid>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[Animesh Saraswat]]></dc:creator>
            <pubDate>Mon, 11 Nov 2019 10:07:33 GMT</pubDate>
            <atom:updated>2019-11-11T10:07:33.680Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tnZIFgs3mXlgXVlvZwfCaw.png" /><figcaption>Just some random codepen snapshot!</figcaption></figure><p>The fast growth of technology and it’s frequent changes and upgrades in the applications has always resulted in improving the capability of supporting the newest development tools but still all applications and devices have their limitations.</p><p>I have always looked forward to development for laptops and touch-enabled devices as those are the ones I am using in day to day life but then I stumbled upon desktop and that left me in dilemma of how the things which are easy to use in laptops, like a left-right horizontal scroll will work on desktops and this is when I realized that I have to start considering for these too or my work wouldn’t be appreciative.</p><p>The introduction of flex in CSS3 has made the designing so much easier and yes the orthodox horizontal scroll is a piece of cake to achieve through flex. However, flex is not yet supported by all the browsers out there and even if so the desktops won&#39;t be able to scroll using a mouse. This is where ‘<strong>JAVASCRIPT</strong>’ comes in.</p><p>Personally I surfed for more than 50 articles on codepen, jsfiddle, CSS-tricks and other blogs but couldn’t find the exact thing I was looking for so I thought of developing one by myself. Below is the link to the pen I developed on codepen. Hope that it’s helpful for you guys.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fanimesh_saraswat%2Fembed%2Fpreview%2FjZMwZb%3Fheight%3D600%26slug-hash%3DjZMwZb%26default-tabs%3Dcss%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io%26embed-version%3D2&amp;url=https%3A%2F%2Fcodepen.io%2Fanimesh_saraswat%2Fpen%2FjZMwZb&amp;image=https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fi.cdpn.io%2F759528.jZMwZb.small.5c6ea7d3-58f1-42b5-a391-421caaf54b63.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/26cd16d6a4595b0a00d5d5cb6a7dbb6d/href">https://medium.com/media/26cd16d6a4595b0a00d5d5cb6a7dbb6d/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42d9430f26e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EM vs REM: Size Matters]]></title>
            <link>https://medium.com/kontikilabs/em-vs-rem-size-matters-143e5e669883?source=rss-7b0732f9f498------2</link>
            <guid isPermaLink="false">https://medium.com/p/143e5e669883</guid>
            <category><![CDATA[emr]]></category>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[me]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <dc:creator><![CDATA[Animesh Saraswat]]></dc:creator>
            <pubDate>Thu, 08 Feb 2018 16:54:38 GMT</pubDate>
            <atom:updated>2019-11-11T10:01:00.654Z</atom:updated>
            <content:encoded><![CDATA[<h4>Sizing with rem &amp; em</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3MCmNgPNFj5VkGcU0WKuUA.jpeg" /></figure><blockquote>h1 { font-size: 16px } or BODY {font-size:50%}</blockquote><p>How easy it is to assign the above in your CSS. But, the above style always leaves the user in browsers like IE and a few more, unhappy. In order to end your struggle with such browsers, the Cascading Style Sheet (CSS) provides an amazing option in the form of <strong>em</strong> and <strong>rem</strong></p><p><strong>What are </strong><strong>em and </strong><strong>rem?<br></strong>They are the relative units of scale used by CSS for various numeric values like <em>font-size, padding, margin, </em>etc.</p><p>Here is a standard definition for both.</p><p><strong>em </strong>: It is in ratio with the sizing standard of its nearest parent element. So <em>em</em> will automatically take the parent font-size (if any).</p><p><strong>rem </strong>: It is in ratio with the sizing standard of the root element i.e. the standard font-size which our HTML page holds (its 16px).</p><p><strong>A simple example<br></strong>Below is a very simple example of <strong>rem</strong> and <strong>em. </strong>The code implemented will showcase the property of both considering the font-size parameter.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fanimesh_saraswat%2Fembed%2Fpreview%2FLeXmNe%3Fheight%3D600%26slug-hash%3DLeXmNe%26default-tabs%3Dhtml%2Cresult%26host%3Dhttps%3A%2F%2Fcodepen.io%26embed-version%3D2&amp;url=https%3A%2F%2Fcodepen.io%2Fanimesh_saraswat%2Fpen%2FLeXmNe&amp;image=https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fi.cdpn.io%2F759528.LeXmNe.small.3a3ae3d8-2d32-46b3-9855-c42ed7679a56.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/e137def309fdae3b4ad0c54b6f1f3509/href">https://medium.com/media/e137def309fdae3b4ad0c54b6f1f3509/href</a></iframe><p>I personally prefer <strong>em</strong> over <strong>rem</strong>, because the latter limits our approach by providing one single standard whereas in case of <strong>em</strong> we can set a new standard for each element we work with.</p><blockquote>At <a href="http://kontikilabs.com/">Kontiki Labs</a>, we are enabling enterprises and businesses of all sizes to use AI powered technologies such as Machine Learning and Deep Learning by building affordable, people focused, design-first AI solutions. You can connect with us on <a href="https://twitter.com/kontikilabs">twitter</a> or on email: hi[at]kontikilabs[dot]com</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=143e5e669883" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kontikilabs/em-vs-rem-size-matters-143e5e669883">EM vs REM: Size Matters</a> was originally published in <a href="https://medium.com/kontikilabs">Kontiki AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>