An open API service indexing awesome lists of open source software.

https://github.com/asrieldreemurrgm/css_best_practices

Practical study of CSS best practices, applying SMACSS and BEM methodology. Includes examples of layout, modules, themes, forms, and interactive UI components.
https://github.com/asrieldreemurrgm/css_best_practices

accordion bem-methodology button css form html5 inline-javascript javascript sass scss smacss theming ui-components

Last synced: 3 months ago
JSON representation

Practical study of CSS best practices, applying SMACSS and BEM methodology. Includes examples of layout, modules, themes, forms, and interactive UI components.

Awesome Lists containing this project

README

          

CSS Best Practices



Este README também está disponível em Português.



This repository contains practical examples and studies of CSS best practices, focusing on both SMACSS (Scalable and Modular Architecture for CSS) and BEM (Block Element Modifier) methodology. Each file includes comments explaining the concepts, with demonstrations of layout, modules, themes, forms, buttons, and interactive components.


Topics Covered



  • SMACSS (Base, Layout, Modules, State, Theme)

  • BEM Methodology (Block Element Modifier)

  • CSS / SASS / SCSS

  • HTML5

  • JavaScript (Accordion Components)

  • Forms and Buttons

  • Theming (Tema A / Tema B)

  • UI Components


Examples Included




  • SMACSS Folder: Layouts, modules, themes, accordions, and UI messages.


  • BEM Folder: Forms with BEM methodology applied using CSS and SASS.


How to Use



Open the index.html file in the respective folder (SMACSS or BEM) in a browser to explore the examples. Examine the CSS/SASS files to understand how SMACSS and BEM are implemented. JavaScript is included for interactive elements like accordions.


Technologies Used



  • HTML5

  • CSS / SASS / SCSS

  • JavaScript

  • SMACSS Architecture

  • BEM Methodology

  • Forms, Buttons, Accordion Components

  • Theming

  • UI Components