DeveloperBreeze

Css Programming Tutorials, Guides & Best Practices

Explore 13+ expertly crafted css tutorials, components, and code examples. Stay productive and build faster with proven implementation strategies and design patterns from DeveloperBreeze.

ShadCN Cheatsheet

Cheatsheet April 12, 2025

Update Tailwind config:

theme: {
  extend: {
    colors: {
      primary: 'hsl(var(--primary))',
      // etc.
    }
  }
}

Grids Cheatsheet

Cheatsheet January 14, 2025
css html

No preview available for this content.

دليل شامل لتطوير الويب: بناء موقع بسيط باستخدام HTML, CSS وJavaScript

Tutorial September 27, 2024
javascript css html

تطوير الويب هو عملية إنشاء وتصميم المواقع الإلكترونية باستخدام لغات البرمجة وتقنيات الويب المختلفة. في هذا الدليل، سنتعلم كيفية بناء موقع ويب بسيط باستخدام HTML، CSS وJavaScript. سيتضمن هذا الدليل خطوات تفصيلية تبدأ من الهيكل الأساسي للصفحة وصولاً إلى إضافة بعض التفاعلات باستخدام JavaScript.

قبل البدء، يُفضل أن يكون لديك معرفة بسيطة باللغات التالية:

Creating Fluid and Adaptive Typography with CSS

Tutorial September 05, 2024
css

  • Minimum Value: The smallest value the property can shrink to.
  • Preferred Value: The value the property will normally aim for.
  • Maximum Value: The largest value the property can grow to.
h1 {
    font-size: clamp(1.5rem, 5vw, 3rem);
}

CSS Variables and Custom Properties: Dynamic Theming and Beyond

Tutorial September 05, 2024
css

:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --font-size: 16px;
}

body {
    color: var(--primary-color);
    font-size: var(--font-size);
}

In the example above, we define --primary-color, --secondary-color, and --font-size as custom properties. These variables are then used within the body element by calling var(--variable-name).