<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: v1shalm</title>
    <description>The latest articles on DEV Community by v1shalm (@v1shalm).</description>
    <link>https://dev.to/v1shalm</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F515433%2Faa9cf975-c990-4968-886c-2b818880178c.jpeg</url>
      <title>DEV Community: v1shalm</title>
      <link>https://dev.to/v1shalm</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/v1shalm"/>
    <language>en</language>
    <item>
      <title>Getting started with TailwindCSS</title>
      <dc:creator>v1shalm</dc:creator>
      <pubDate>Sat, 24 Sep 2022 18:03:31 +0000</pubDate>
      <link>https://dev.to/v1shalm/get-started-with-tailwindcss-58hj</link>
      <guid>https://dev.to/v1shalm/get-started-with-tailwindcss-58hj</guid>
      <description>&lt;p&gt;&lt;strong&gt;Tailwind CSS can be used to make websites in the fastest and the easiest way.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Tailwind CSS is basically a utility-first CSS framework for rapidly building custom user interfaces. It is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinionated styles you have to fight to override.  The beauty of this thing called tailwind is it doesn’t impose design specification or how your site should look like, you simply bring tiny components together to construct a user interface that is unique. What Tailwind simply does is take a ‘raw’ CSS file, processes this CSS file over a configuration file, and produces an output.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Installation&lt;/strong&gt;&lt;br&gt;
In this project, we will install Tailwind CSS via Node Package Manager (npm), but you could also use the CDN. If you choose the latter approach, you will not be able to use some features like extracting custom CSS classes. But if you just want to give it a spin, then go for it.&lt;/p&gt;

&lt;p&gt;/* Tailwind CSS CDN */&lt;br&gt;
&lt;code&gt;&amp;lt;link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;To install Tailwind, we will first create a folder:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ mkdir mytailwindcsssite&lt;/code&gt;&lt;br&gt;
Now, change to the newly created folder and initialise npm to install Tailwind:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ cd mytailwindcsssite&lt;br&gt;
$ npm init -y&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;After initialising npm in the folder, a package.json file will be created. Now we can install the tailwindcss package easily by running the following command:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ npm install tailwindcss&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Adding Tailwind to the project&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The next step is to add Tailwind to our project. For that, we will create a file called src/styles.css in which we will inject all three Tailwind directives to import base, components, and utilities styles:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;@tailwind base;&lt;br&gt;
@tailwind components;&lt;br&gt;
@tailwind utilities;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;You could also add a Tailwind configuration file within the project that lets you create your own CSS classes or import fonts via the @import rule. To install the tailwindcss configuration file, run the following command:&lt;br&gt;
&lt;code&gt;&lt;br&gt;
$ npx tailwindcss init&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This will create a new file called &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;tailwind.config.js&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>tailwindcss</category>
    </item>
    <item>
      <title>5 Best Tips for Responsive Design in CSS</title>
      <dc:creator>v1shalm</dc:creator>
      <pubDate>Sat, 24 Sep 2022 17:38:55 +0000</pubDate>
      <link>https://dev.to/v1shalm/5-best-tips-for-responsive-design-in-css-235h</link>
      <guid>https://dev.to/v1shalm/5-best-tips-for-responsive-design-in-css-235h</guid>
      <description>&lt;p&gt;-&lt;br&gt;
Hey there, hope you are doing well. There are a couple of tips that I personally use when I am making websites responsive that I would like to share with you in this article.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Padding/Margin - We usually use a lot of padding when we make websites for desktops, to make them more attractive. While making it responsive for mobiles, tablets try decreasing the existing paddings and margins.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use em/rem/ percentages - Always try using em/percentage/rem instead of px, so that the text, images size adjust with respect to the device width.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;👉 An example could be:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;body { font-size:60%; }
div { font-size: 2.4em; }
p { font-size: 1.4rem; }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Flex-wrap - Using flexbox to align your HTML elements such as &lt;/p&gt;,&lt;p&gt; etc provides the force elements onto one line or can wrap onto multiple lines according to their width.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Media query - Media query should be used to set width and height according to the breakpoints. Breakpoint refers to the width at which the website starts looking distorted.&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;

&lt;/ul&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@media screen and (min-width: 480px) {
  body {
    background-color: lightgreen;
  }
}
&lt;/code&gt;&lt;/pre&gt;


&lt;ul&gt;
&lt;li&gt;Box-Sizing - It resolves a lot of problems padding causes, using box-sizing on HTML elements with a percentage width will take padding into account rather than having to adjust the width due to padding.
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;`{box-sizing : border box;}`
&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;Feel free to add other tips/tricks in the comments section. Thanks for reading :)&lt;/p&gt;



</description>
      <category>webdev</category>
      <category>css</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How to create the Perfect README for Your Project</title>
      <dc:creator>v1shalm</dc:creator>
      <pubDate>Fri, 23 Sep 2022 16:05:02 +0000</pubDate>
      <link>https://dev.to/v1shalm/how-to-create-the-perfect-readme-for-your-project-5b3h</link>
      <guid>https://dev.to/v1shalm/how-to-create-the-perfect-readme-for-your-project-5b3h</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Why should I create a README?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;READMEs are fun to create and are an important part of your personal profile and your organization's profile. Writing an excellent README file for your open-source project's repository is equally important. The README file is the first impression of your project that potential contributors and new users get. While your Contributing .md allows contributors to make and merge pull requests in your repository,Users can find instructions on how to use your project in your README file.&lt;/p&gt;

&lt;h2&gt;
  
  
  What should I write in my README?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;- Start by adding the title for your project&lt;/li&gt;
&lt;li&gt;- Make sure there is a banner image or logo included&lt;/li&gt;
&lt;li&gt;- Be brief and to the point when describing your project&lt;/li&gt;
&lt;li&gt;- Prerequisites should be listed&lt;/li&gt;
&lt;li&gt;- Specify the installation commands&lt;/li&gt;
&lt;li&gt;- Provide as many examples as possible.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A README is very important, but can be intimidating to a beginner. Using a README generator can make creating a README for a project easy. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Readme.so&lt;/li&gt;
&lt;li&gt;Github profile readme generator&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.makeareadme.com/"&gt;https://www.makeareadme.com/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;My Top pick would be: &lt;a href="https://readme.so/"&gt;Readme.so&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Rsebip7N--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7lp5nyix3iy0nkb1bvzp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Rsebip7N--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7lp5nyix3iy0nkb1bvzp.png" alt="Image description" width="880" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>github</category>
      <category>readme</category>
    </item>
  </channel>
</rss>
