<?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>Forem: Adrià Entreserra</title>
    <description>The latest articles on Forem by Adrià Entreserra (@adribyme).</description>
    <link>https://forem.com/adribyme</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%2F2012031%2Fa1ae9ab4-1c9c-47cf-aa7f-0573f82f1da4.jpg</url>
      <title>Forem: Adrià Entreserra</title>
      <link>https://forem.com/adribyme</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/adribyme"/>
    <language>en</language>
    <item>
      <title>Finally, a Tool to Convert Tailwind to CSS Instantly</title>
      <dc:creator>Adrià Entreserra</dc:creator>
      <pubDate>Sun, 01 Sep 2024 17:50:18 +0000</pubDate>
      <link>https://forem.com/adribyme/finally-a-tool-to-convert-tailwind-to-css-instantly-8jb</link>
      <guid>https://forem.com/adribyme/finally-a-tool-to-convert-tailwind-to-css-instantly-8jb</guid>
      <description>&lt;p&gt;If you have ever found yourself in need of converting &lt;em&gt;Tailwind CSS&lt;/em&gt; classes into standard &lt;em&gt;CSS&lt;/em&gt;, you are likely aware of the challenges involved in doing so manually. After extensive research for a solution, I discovered a tool that accomplishes this task effortlessly—and it has proven to be a significant improvement.&lt;/p&gt;

&lt;p&gt;You can find it &lt;a href="https://www.csstyle.me/tailwind-to-css" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Real-Time Tailwind to CSS Conversion&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;This tool let users to input &lt;em&gt;Tailwind classes&lt;/em&gt; and immediately view the &lt;em&gt;CSS&lt;/em&gt; converted code. Its feature has the capability to manage intricate Tailwind functionalities:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Pseudo-classes:&lt;/strong&gt; It accommodates &lt;em&gt;hover:&lt;/em&gt;, &lt;em&gt;focus:&lt;/em&gt;, and additional states, transforming them into the appropriate CSS for various conditions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Responsive Design:&lt;/strong&gt; It translates responsive classes such as &lt;em&gt;sm:&lt;/em&gt; and &lt;em&gt;md:&lt;/em&gt; into media queries, facilitating a clear understanding of how Tailwind styles adapt to different screen dimensions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Why You’ll Love It&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;This converter is efficient, dependable, and remarkably user-friendly. Whether you are studying Tailwind, moving to CSS, or simply require a swift conversion, this tool will help you save both time and effort. Try it out—you will be amazed at how you managed without it!&lt;/p&gt;

</description>
      <category>tailwindcss</category>
      <category>css</category>
      <category>frontend</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Mastering box-shadow in CSS: A Quick Guide</title>
      <dc:creator>Adrià Entreserra</dc:creator>
      <pubDate>Sun, 01 Sep 2024 17:38:38 +0000</pubDate>
      <link>https://forem.com/adribyme/mastering-box-shadow-in-css-a-quick-guide-5fh</link>
      <guid>https://forem.com/adribyme/mastering-box-shadow-in-css-a-quick-guide-5fh</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fizfypnbech6yvq7mi6re.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fizfypnbech6yvq7mi6re.png" alt="Image description" width="617" height="598"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;box-shadow&lt;/strong&gt; property in CSS serves as an effective mechanism for developers to introduce depth and dimension to &lt;em&gt;HTML&lt;/em&gt; elements. By incorporating shadows into elements, one can enhance the realism and visual attractiveness of the user interface. This article will delve into the fundamentals of &lt;em&gt;box-shadow&lt;/em&gt; and offer examples to assist you in mastering its application.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Understanding the Basics&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The &lt;em&gt;box-shadow&lt;/em&gt; property consists of several values that define how the shadow will appear. Here’s the basic syntax:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;box-shadow: offset-x offset-y blur-radius spread-radius color;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;offset-x:&lt;/strong&gt; This parameter defines the horizontal displacement of the shadow. Positive values shift the shadow to the right, negative values shift it to the left.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;offset-y:&lt;/strong&gt; This parameter indicates the vertical displacement of the shadow. Positive values move the shadow downward, negative values elevate it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;blur-radius &lt;em&gt;(optional)&lt;/em&gt;:&lt;/strong&gt; This setting regulates the softness of the shadow. A higher value results in a more diffused shadow. If this parameter is not specified, the default value is 0, which produces a distinct shadow.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;spread-radius &lt;em&gt;(optional)&lt;/em&gt;:&lt;/strong&gt; This parameter affects the dimensions of the shadow. Positive values increase the shadow's size, negative values reduce it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;color&lt;/strong&gt;: This attribute defines the shadow's color. It can be any valid CSS color representation, such as #000, rgba(0,0,0,0.5) or hsl(0, 0%, 50%).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Example: Basic Box Shadow&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Let’s see a simple example of a box-shadow applied to a button:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;button {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this case, the shadow is &lt;em&gt;offset&lt;/em&gt; by &lt;em&gt;5px&lt;/em&gt; horizontally and vertically, has a blur radius of &lt;em&gt;10px&lt;/em&gt;, and is colored with black with 0.3 of opacity.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Example: Inset Shadows&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;box-shadow&lt;/em&gt; also supports the &lt;em&gt;inset&lt;/em&gt; keyword, which places the shadow inside the element, giving it a recessed effect.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;div {
  box-shadow: inset 0 0 10px #000;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here, the shadow is placed inside the &lt;em&gt;div&lt;/em&gt;, creating an effect as if the content is pushed inward.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Advanced Tips&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;You have the ability to create multiple shadows by delineating each &lt;em&gt;box-shadow&lt;/em&gt; specification with a comma. This technique allows for the creation of intricate, layered shadow effects.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;box-shadow: 2px 2px 5px #aaa, -2px -2px 5px #ccc;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Shadow effects are frequently employed to produce hover interactions, enhancing the interactivity of buttons or cards.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;button:hover {
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.4);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For those who prefer a more visual approach, check out the &lt;a href="https://www.csstyle.me/box-shadow-css-generator" rel="noopener noreferrer"&gt;Box-Shadow CSS Generator&lt;/a&gt;. This tool allows you to craft custom box-shadow effects effortlessly, without writing any code and saving presets.&lt;/p&gt;

</description>
      <category>css</category>
      <category>frontend</category>
      <category>learning</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
