Skip to content

Commit

Permalink
Update CSS and Tailwind CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
DatlaRakeshVarma authored May 18, 2024
1 parent 9b44388 commit fef3bde
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Datla Rakesh Varma/Articles/CSS and Tailwind CSS/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Mastering CSS and Tailwind CSS
title: Best Practices CSS and Tailwind CSS
description: Delve into best practices, research and essential insights for leveraging CSS and Tailwind CSS in modern web development.
author: Datla Rakesh Varma
lastmod: 2024-05-17
Expand All @@ -10,8 +10,6 @@ tags:
draft: false
---

# From Basic To Brilliance for Modern Web Development

## Introduction

**CSS** (Cascading Style Sheets) and **Tailwind CSS** are fundamental tools in modern web development. CSS have long been the cornerstone of web design, providing developers with the means to control the presentation and layout of web pages. From defining colors and fonts to arranging elements on the screen, CSS empowers developers to craft visually appealing and functional websites. However, as web development practices have evolved, so too have the tools and frameworks available to developers.
Expand Down Expand Up @@ -255,10 +253,11 @@ In this article, we will explore the best practices for using both traditional C
--font-family: 'Helvetica, Arial, sans-serif';
}

/* Fallback values */
body {
font-family: var(--font-family);
font-family: var(--font-family), sans-serif; /* Added a generic sans-serif as a fallback */
color: var(--primary-color);
}
}
```
Tailwind CSS Example:

Expand All @@ -278,6 +277,8 @@ In this article, we will explore the best practices for using both traditional C
},
},
},
variants: {},
plugins: [],
}
```

Expand Down

0 comments on commit fef3bde

Please sign in to comment.