Skip to content

Tag Styler is a lightweight, efficient CSS library created by Ismail Mouyahada that revolutionizes how we style web elements. Instead of relying on multiple class declarations, Tag Styler uses direct tag styling to create clean, maintainable, and performant CSS code.

License

Notifications You must be signed in to change notification settings

Ismail-Mouyahada/TagStyler-CSS-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TagStyler-CSS-Library | Open-Source-Free

image Tag Styler is a lightweight, efficient CSS library created by Ismail Mouyahada that revolutionizes how we style web elements. Instead of relying on multiple class declarations, Tag Styler uses direct tag styling to create clean, maintainable, and performant CSS code.

Tag Styler CSS Library

Overview

Tag Styler is a lightweight, efficient CSS library created by Ismail Mouyahada that revolutionizes how we style web elements. Instead of relying on multiple class declarations, Tag Styler uses direct tag styling to create clean, maintainable, and performant CSS code.

Key Features

  • Zero Class Approach: Style elements directly through tags, eliminating the need for numerous class declarations
  • Lightweight: Minimal file size for optimal performance
  • Clean Code: Reduces HTML clutter by removing unnecessary class attributes
  • Fast Loading: Optimized for quick page loads
  • Open Source: Free to use and modify under MIT license
  • Cross-Browser Compatible: Works seamlessly across all modern browsers

CDN Integration

<!-- Latest version -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Ismail-Mouyahada/TagStyler-CSS-Library@main/TagStyler.css">
 
<!-- Specific version -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Ismail-Mouyahada/TagStyler-CSS-Library@main/TagStyler.min.css">

Basic Usage Example

<!-- Traditional approach with classes -->
<div class="container center-text blue-bg padding-20">
  <h1 class="large-title bold-text">Hello World</h1>
</div>

<!-- Tag Styler approach - no classes needed -->
<container>
  <title>Hello World</title>
</container>

Demo

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Ismail-Mouyahada/TagStyler-CSS-Library@main/TagStyler.css">
</head>
<body>
    <header>
        <h1>Welcome to My Website</h1>
    </header>
    <nav>
        <ul>
            <li><a href="#">Home</a></li>
            <li><a href="#">About</a></li>
            <li><a href="#">Contact</a></li>
        </ul>
    </nav>
    <main>
        <section>
            <h2>Main Content</h2>
            <p>This is the main content area.</p>
        </section>
        <aside>
            <p>This is a side note.</p>
        </aside>
        <button>
         Media
        </button>
    </main>
    <footer>
        <p>&copy; 2024 My Website</p>
    </footer>
</body>
</html>

Benefits

  1. Development Speed

    • Faster coding with intuitive tag names
    • No need to remember or create class names
    • Reduced time spent on styling decisions
  2. Code Maintenance

    • Cleaner HTML structure
    • Easier to read and understand
    • Simplified debugging process
  3. Performance

    • Reduced CSS file size
    • Faster page loading times
    • Efficient style processing
  4. Learning Curve

    • Intuitive tag names
    • Natural HTML-like syntax
    • Easy for beginners to adopt

Use Cases

  • Landing pages
  • Corporate websites
  • Blogs
  • Portfolios
  • E-commerce sites
  • Documentation pages
  • Admin dashboards

Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)
  • Opera (latest)

Contributing

Tag Styler is open source and welcomes contributions. Visit the GitHub repository to:

  • Report issues
  • Submit pull requests
  • Suggest improvements
  • Share feedback

License

MIT License - feel free to use in personal and commercial projects.

Author

Created and maintained by Ismail Mouyahada.

Community

Join our growing community of developers using Tag Styler:

  • GitHub Discussions
  • Stack Overflow tag: #tag-styler
  • Twitter: @tagstylercss

About

Tag Styler is a lightweight, efficient CSS library created by Ismail Mouyahada that revolutionizes how we style web elements. Instead of relying on multiple class declarations, Tag Styler uses direct tag styling to create clean, maintainable, and performant CSS code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages