Skip to content

This repository is a collection of vanilla HTML/CSS components written using the BEM methodology for Hactoberfest.

Notifications You must be signed in to change notification settings

Praduman30642/BEM-Design-System

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

BEM-Design-System

This repository is a collection of vanilla HTML/CSS components written using the BEM methodology for Hactoberfest.

How to participate

Initial Setup

Fork this repository

First Pull Request

  1. Write a comment and <section> tag in the index.html file:
<!-- 
  Username 
  Description of component
  Available modifiers
-->
<section class="my-block">
   ...
</section>
  1. Create a pull request for your HTML!

Second Pull Request

  1. Write your CSS block ruleset in style.css:
/* ====================
   My Component
======================*/

/* Block */
.my-block{
  ...
}
  1. Create a pull request for your CSS!

Third Pull Request

  1. Write your CSS __elements in style.css:
/* Elements */
.my-block__elem1{
  ...
}

.my-block__elem2{
  ...
}

...
  1. Create a pull request for your CSS!

Fourth Pull Request

  1. Write your CSS --modifiers in style.css:
/* Modifier one */
.my-block--mod1{
  ...
}

.my-block--mod1 .my-block__elem1{
  ...
}

...
  1. Create a pull request for your CSS!

About

This repository is a collection of vanilla HTML/CSS components written using the BEM methodology for Hactoberfest.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 61.3%
  • HTML 38.7%