Common mistakes when writing CSS with BEM Malte Riechmann on October 22, 2021 Software development is a team effort When doing software development it is essential to agree on guidelines, technology, and methodolog... Read full post Submit Preview Dismiss Collapse Expand Esperanza Cutillas Rastoll Esperanza Cutillas Rastoll Esperanza Cutillas Rastoll Follow Always learning. I love technology, tv shows, pizza and cheese. Location Spain Work Full Stack Developer Joined Jan 11, 2020 • Nov 12 '22 Dropdown menu Copy link Hide Thanks, I am learning BEM and this is helpful :) Collapse Expand Malte Riechmann visuellverstehen Malte Riechmann visuellverstehen Malte Riechmann Follow Software developer at visuellverstehen Email kontakt@malteriechmann.de Location Flensburg, Germany Work Software developer at visuellverstehen Joined Jan 24, 2021 • Nov 13 '22 Dropdown menu Copy link Hide Glad it helps :) Collapse Expand andrewStrackbein andrewStrackbein andrewStrackbein Follow Joined Jul 6, 2021 • Oct 22 '21 Dropdown menu Copy link Hide I didn't know the grandchildren one, thanks! Collapse Expand Malte Riechmann visuellverstehen Malte Riechmann visuellverstehen Malte Riechmann Follow Software developer at visuellverstehen Email kontakt@malteriechmann.de Location Flensburg, Germany Work Software developer at visuellverstehen Joined Jan 24, 2021 • Oct 22 '21 Dropdown menu Copy link Hide Awesome. You are welcome. Collapse Expand yogeshwaran yogeshwaran yogeshwaran Follow CSS Ninja, Javascript newbie Email yogesh.ktm@gmail.com Location chennai, india Work Senior Software engineer at Photon interactive Joined Aug 19, 2019 • Jul 19 '22 Dropdown menu Copy link Hide Simple and clean explanation. Thanks for this. We are using BEM in our team. yes of course with these mistakes :) will correct these Collapse Expand Malte Riechmann visuellverstehen Malte Riechmann visuellverstehen Malte Riechmann Follow Software developer at visuellverstehen Email kontakt@malteriechmann.de Location Flensburg, Germany Work Software developer at visuellverstehen Joined Jan 24, 2021 • Jul 20 '22 Dropdown menu Copy link Hide Thanks for your feedback. Collapse Expand ratrateroo ratrateroo ratrateroo Follow Hi, I am an aspiring software engineer. A career shifter from teaching to web development. Location Manila Work Working freelance as web developer. Joined Aug 20, 2019 • Oct 25 '21 Dropdown menu Copy link Hide I've been using BEM for my home projects, I even tried to combine multiple conflicting resouces. Starting early in BEM after learning CSS is really helpful in improving your wider point of view of the project. Thank you for the tips🙂 Collapse Expand Malte Riechmann visuellverstehen Malte Riechmann visuellverstehen Malte Riechmann Follow Software developer at visuellverstehen Email kontakt@malteriechmann.de Location Flensburg, Germany Work Software developer at visuellverstehen Joined Jan 24, 2021 • Oct 25 '21 Dropdown menu Copy link Hide Thanks for your feedback :) Collapse Expand Ali Raza Ali Raza Ali Raza Follow Full Stack Developer! Location Lahore Pakistan Education Software Engineer Pronouns ali Work Developer Joined Sep 6, 2021 • Oct 22 '21 Dropdown menu Copy link Hide Tip for the great-grandchildren 👍 Collapse Expand Malte Riechmann visuellverstehen Malte Riechmann visuellverstehen Malte Riechmann Follow Software developer at visuellverstehen Email kontakt@malteriechmann.de Location Flensburg, Germany Work Software developer at visuellverstehen Joined Jan 24, 2021 • Oct 23 '21 Dropdown menu Copy link Hide Thanks for your feedback :) Collapse Expand dippas dippas dippas Follow I am a person who loves everything about Internet & web development. At the moment I am a senior frontend developer at Mindera in Portugal Location Portugal Work Frontend Developer Joined Aug 15, 2019 • Oct 23 '21 • Edited on Oct 23 • Edited Dropdown menu Copy link Hide this tips are all correct and when using BEM with SCSS all of this will make sense. ;) Collapse Expand Malte Riechmann visuellverstehen Malte Riechmann visuellverstehen Malte Riechmann Follow Software developer at visuellverstehen Email kontakt@malteriechmann.de Location Flensburg, Germany Work Software developer at visuellverstehen Joined Jan 24, 2021 • Oct 24 '21 Dropdown menu Copy link Hide Thanks for your comment. I agree with you. In addition I think, BEM makes also sense with PostCSS, Less or Vanilla CSS. Collapse Expand Luis Nunes Luis Nunes Luis Nunes Follow Joined Oct 31, 2021 • Oct 31 '21 Dropdown menu Copy link Hide Very interesting... who never made a couple of those mistakes? I still do... :) tx Collapse Expand Malte Riechmann visuellverstehen Malte Riechmann visuellverstehen Malte Riechmann Follow Software developer at visuellverstehen Email kontakt@malteriechmann.de Location Flensburg, Germany Work Software developer at visuellverstehen Joined Jan 24, 2021 • Nov 1 '21 Dropdown menu Copy link Hide Thanks for commenting. Everyone makes mistakes. Collapse Expand Felix H. Felix H. Felix H. Follow Web Engineer (Full Stack) | Web Designer Email felixhtoo30@gmail.com Location Yangon, Myanmar Education B.C.Sc (CS) Work Full Stack Developer | Web Designer at Fresher's Works Joined Aug 29, 2020 • Oct 24 '21 Dropdown menu Copy link Hide I usually make mistakes 2, 3, 4 except 1. Though there are just 4 mistakes, they're precious. Thank u for your sharing. Collapse Expand Malte Riechmann visuellverstehen Malte Riechmann visuellverstehen Malte Riechmann Follow Software developer at visuellverstehen Email kontakt@malteriechmann.de Location Flensburg, Germany Work Software developer at visuellverstehen Joined Jan 24, 2021 • Oct 24 '21 Dropdown menu Copy link Hide Mistakes are part of the learning process. Keep on and happy coding :) Collapse Expand Malte Riechmann visuellverstehen Malte Riechmann visuellverstehen Malte Riechmann Follow Software developer at visuellverstehen Email kontakt@malteriechmann.de Location Flensburg, Germany Work Software developer at visuellverstehen Joined Jan 24, 2021 • Oct 26 '21 Dropdown menu Copy link Hide Thank you :) Collapse Expand Martin Topolanek Martin Topolanek Martin Topolanek Follow I love building well-aranged, readable and reusable code. Location Ostrava, Czech republic Work Frontend developer at Atlas group Joined May 26, 2021 • Oct 23 '21 Dropdown menu Copy link Hide I always did mistake number 2 which leads to messy structure, so thanks for clarification! Collapse Expand Malte Riechmann visuellverstehen Malte Riechmann visuellverstehen Malte Riechmann Follow Software developer at visuellverstehen Email kontakt@malteriechmann.de Location Flensburg, Germany Work Software developer at visuellverstehen Joined Jan 24, 2021 • Oct 23 '21 Dropdown menu Copy link Hide No one wants messy structure. Glad it helps. Have fun writing proper BEM. Code of Conduct • Report abuse
Thanks, I am learning BEM and this is helpful :)
Glad it helps :)
I didn't know the grandchildren one, thanks!
Awesome. You are welcome.
Simple and clean explanation. Thanks for this.
We are using BEM in our team. yes of course with these mistakes :) will correct these
Thanks for your feedback.
I've been using BEM for my home projects, I even tried to combine multiple conflicting resouces. Starting early in BEM after learning CSS is really helpful in improving your wider point of view of the project. Thank you for the tips🙂
Thanks for your feedback :)
Tip for the great-grandchildren 👍
Thanks for your feedback :)
this tips are all correct and when using BEM with SCSS all of this will make sense. ;)
Thanks for your comment. I agree with you. In addition I think, BEM makes also sense with PostCSS, Less or Vanilla CSS.
Very interesting...
who never made a couple of those mistakes?
I still do... :)
tx
Thanks for commenting. Everyone makes mistakes.
I usually make mistakes 2, 3, 4 except 1.
Though there are just 4 mistakes, they're precious.
Thank u for your sharing.
Mistakes are part of the learning process. Keep on and happy coding :)
Thank you :)
I always did mistake number 2 which leads to messy structure, so thanks for clarification!
No one wants messy structure. Glad it helps. Have fun writing proper BEM.