<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CSS on Simple Enough Blog</title><link>https://blog-dev.simpleenough.net/tags/css/</link><description>Recent content in CSS on Simple Enough Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 16 Sep 2025 15:13:06 +0200</lastBuildDate><atom:link href="https://blog-dev.simpleenough.net/tags/css/index.xml" rel="self" type="application/rss+xml"/><item><title>CSS Color Palette: How to Choose and Combine Colors Effectively</title><link>https://blog-dev.simpleenough.net/blog/colorpalette/</link><pubDate>Tue, 16 Sep 2025 15:13:06 +0200</pubDate><guid>https://blog-dev.simpleenough.net/blog/colorpalette/</guid><description>&lt;h2 id="i-why-a-well-thought-css-color-palette-matters" class="heading">I. Why a Well-Thought CSS &lt;strong>Color Palette&lt;/strong> Matters&lt;a href="#i-why-a-well-thought-css-color-palette-matters" aria-labelledby="i-why-a-well-thought-css-color-palette-matters">
&lt;!-- &lt;i class="fas fa-link anchor">&lt;/i> -->
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 640 512">&lt;use href="#fas-link">&lt;/use>&lt;/svg>&amp;nbsp;
 &lt;/a>
&lt;/h2>
&lt;p>A well-designed palette ensures &lt;strong>visual consistency&lt;/strong>, reinforces &lt;strong>brand identity&lt;/strong>, and provides a &lt;strong>smooth user experience&lt;/strong>. It simplifies code maintenance, avoids redundant colors, and allows for &lt;strong>easy theme adaptation&lt;/strong> (light/dark). Following best practices also enhances &lt;strong>accessibility&lt;/strong>: sufficient contrast, and visual cues beyond just color.&lt;/p>
&lt;hr>




&lt;h2 id="ii-understanding-css-color-formats-hex-rgb-hsl-keywords" class="heading">II. Understanding CSS &lt;strong>Color Formats&lt;/strong> (hex, RGB, HSL, keywords)&lt;a href="#ii-understanding-css-color-formats-hex-rgb-hsl-keywords" aria-labelledby="ii-understanding-css-color-formats-hex-rgb-hsl-keywords">
&lt;!-- &lt;i class="fas fa-link anchor">&lt;/i> -->
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 640 512">&lt;use href="#fas-link">&lt;/use>&lt;/svg>&amp;nbsp;
 &lt;/a>
&lt;/h2>
&lt;p>CSS offers several formats to define colors:&lt;/p></description></item><item><title>Organizing Your Frontend Project: Clean and Simple Folder Structure</title><link>https://blog-dev.simpleenough.net/blog/organization_frontend/</link><pubDate>Fri, 05 Sep 2025 12:09:45 +0200</pubDate><guid>https://blog-dev.simpleenough.net/blog/organization_frontend/</guid><description>&lt;h2 id="i-why-organize-your-frontend-project" class="heading">I. Why Organize Your Frontend Project?&lt;a href="#i-why-organize-your-frontend-project" aria-labelledby="i-why-organize-your-frontend-project">
&lt;!-- &lt;i class="fas fa-link anchor">&lt;/i> -->
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 640 512">&lt;use href="#fas-link">&lt;/use>&lt;/svg>&amp;nbsp;
 &lt;/a>
&lt;/h2>
&lt;p>When you&amp;rsquo;re starting with web development, it&amp;rsquo;s common to place all your files in one folder. However, &lt;strong>good organization&lt;/strong> quickly becomes essential as the project grows, whether for:&lt;/p>
&lt;ul>
&lt;li>Navigating your codebase easily.&lt;/li>
&lt;li>Collaborating effectively with other developers.&lt;/li>
&lt;li>Making maintenance and updates easier.&lt;/li>
&lt;li>Saving time in the long run.&lt;/li>
&lt;/ul>
&lt;hr>




&lt;h2 id="ii-recommended-structure-for-a-simple-project" class="heading">II. Recommended Structure for a Simple Project&lt;a href="#ii-recommended-structure-for-a-simple-project" aria-labelledby="ii-recommended-structure-for-a-simple-project">
&lt;!-- &lt;i class="fas fa-link anchor">&lt;/i> -->
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 640 512">&lt;use href="#fas-link">&lt;/use>&lt;/svg>&amp;nbsp;
 &lt;/a>
&lt;/h2>
&lt;p>Here’s a classic, clean structure for an HTML/CSS/JS project without a framework:&lt;/p></description></item><item><title>Understanding the CSS Box Model</title><link>https://blog-dev.simpleenough.net/blog/boxmodel/</link><pubDate>Mon, 04 Aug 2025 16:09:45 +0200</pubDate><guid>https://blog-dev.simpleenough.net/blog/boxmodel/</guid><description>&lt;h2 id="i-what-is-the-css-box-model" class="heading">I. What is the CSS Box Model?&lt;a href="#i-what-is-the-css-box-model" aria-labelledby="i-what-is-the-css-box-model">
&lt;!-- &lt;i class="fas fa-link anchor">&lt;/i> -->
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 640 512">&lt;use href="#fas-link">&lt;/use>&lt;/svg>&amp;nbsp;
 &lt;/a>
&lt;/h2>
&lt;p>In CSS, &lt;strong>every HTML element is treated as a rectangular box&lt;/strong>. This is called the &lt;strong>box model&lt;/strong>.&lt;/p>
&lt;p>The box model defines &lt;strong>how an element&amp;rsquo;s total size is calculated&lt;/strong>, and how it interacts with surrounding elements.&lt;/p>
&lt;p>An HTML element consists of &lt;strong>4 main areas&lt;/strong>:&lt;/p>
&lt;div class="mb-3 syntax-highlight">&lt;pre tabindex="0">&lt;code>+-------------------------------+
| margin (outer) |
| +-------------------------+ |
| | border (border) | |
| | +-------------------+ | |
| | | padding (space) | | |
| | | +---------------+ | | |
| | | | content | | | |
| | | +---------------+ | | |
| | +-------------------+ | |
| +-------------------------+ |
+-------------------------------+&lt;/code>&lt;/pre>&lt;/div>&lt;hr>




&lt;h2 id="ii-the-4-parts-of-the-box-model" class="heading">II. The 4 Parts of the Box Model&lt;a href="#ii-the-4-parts-of-the-box-model" aria-labelledby="ii-the-4-parts-of-the-box-model">
&lt;!-- &lt;i class="fas fa-link anchor">&lt;/i> -->
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 640 512">&lt;use href="#fas-link">&lt;/use>&lt;/svg>&amp;nbsp;
 &lt;/a>
&lt;/h2>




&lt;h3 id="1-content" class="heading">1. &lt;code>content&lt;/code>&lt;a href="#1-content" aria-labelledby="1-content">
&lt;!-- &lt;i class="fas fa-link anchor">&lt;/i> -->
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 640 512">&lt;use href="#fas-link">&lt;/use>&lt;/svg>&amp;nbsp;
 &lt;/a>
&lt;/h3>
&lt;p>The &lt;strong>actual content&lt;/strong> of the element (text, image, button…).&lt;/p></description></item><item><title>Responsive vs Adaptive: Two Strategies, One Common Goal</title><link>https://blog-dev.simpleenough.net/blog/responsivevsadaptative/</link><pubDate>Mon, 28 Jul 2025 12:14:54 +0200</pubDate><guid>https://blog-dev.simpleenough.net/blog/responsivevsadaptative/</guid><description>&lt;h2 id="i-introduction" class="heading">I. Introduction&lt;a href="#i-introduction" aria-labelledby="i-introduction">
&lt;!-- &lt;i class="fas fa-link anchor">&lt;/i> -->
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 640 512">&lt;use href="#fas-link">&lt;/use>&lt;/svg>&amp;nbsp;
 &lt;/a>
&lt;/h2>
&lt;p>&lt;strong>Responsive design&lt;/strong> and &lt;strong>adaptive design&lt;/strong> are two widely used approaches to creating web interfaces that are accessible across a variety of devices. In a world where screen size diversity — from smartphones to 4K monitors — is the norm, understanding the differences between these strategies is essential for any frontend developer or designer. This article offers a clear, comparative, and well-documented overview of both methodologies, including concrete use cases and practical recommendations.&lt;/p></description></item></channel></rss>