Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CSS Class Names to Blocks Using BEM Methodology #13

Open
alaminfirdows opened this issue Oct 1, 2024 · 1 comment
Open

Add CSS Class Names to Blocks Using BEM Methodology #13

alaminfirdows opened this issue Oct 1, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@alaminfirdows
Copy link
Owner

We need to add appropriate CSS class names to the blocks following the BEM (Block Element Modifier) methodology. This will help make our code more structured, readable, and easier to maintain.

The BEM approach will allow us to create a clear naming convention for our CSS, ensuring that the styles are consistent and reusable across different components of the project. By using this method, it will also become simpler to understand the relationship between different elements and how they are styled.

Please review the blocks and apply class names using the BEM convention, making sure to follow the structure of block__element–modifier where needed.

This update will improve the maintainability and scalability of the CSS codebase.

Reference:
https://getbem.com/

@alaminfirdows alaminfirdows added enhancement New feature or request good first issue Good for newcomers labels Oct 1, 2024
@alaminfirdows
Copy link
Owner Author

eg: .editorjs-list__item--even

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant