---
title: "Comment by Paul M. Watson on \"Introduction to writing better CSS with BEM\" | Hashnode"
description: "Thanks Adavize. In your example why is &quot;__outline&quot; an element and not a modifier like &quot;--danger&quot; when both are just modifying the &quot;butt"
url: "https://hashnode.com/posts/introduction-to-writing-better-css-with-bem/5d3c2a5f8516f72c614dd359/comment/5d3f4448ea67aca069f051b7"
---

[Discussion](https://hashnode.com/posts/introduction-to-writing-better-css-with-bem/5d3c2a5f8516f72c614dd359)

Comment [Introduction to writing better CSS with BEM](https://hashnode.com/posts/introduction-to-writing-better-css-with-bem/5d3c2a5f8516f72c614dd359)

[Paul M. Watson](https://hashnode.com/@paulmwatson)

[Jul 29, 2019](https://hashnode.com/posts/introduction-to-writing-better-css-with-bem/5d3c2a5f8516f72c614dd359/comment/5d3f4448ea67aca069f051b7)

Thanks Adavize. In your example why is "\_\_outline" an element and not a modifier like "--danger" when both are just modifying the "button" block?

[Adavize Hassan](https://hashnode.com/@ozorku)

[Jul 30, 2019](https://hashnode.com/posts/introduction-to-writing-better-css-with-bem/5d3c2a5f8516f72c614dd359/comment/5d3f4448ea67aca069f051b7#reply-5d4059c77ee40d1e6c3869b5)

That's a pretty great question Paul. Well, while both **outline and --danger are modifications of the button block the** outline is a part of the button block and can have its own modifier while the --danger is a modifier of the button block and cannot have a modifier as it is a modifier itself.

[Paul M. Watson](https://hashnode.com/@paulmwatson)

[Jul 31, 2019](https://hashnode.com/posts/introduction-to-writing-better-css-with-bem/5d3c2a5f8516f72c614dd359/comment/5d3f4448ea67aca069f051b7#reply-5d414b574c94739f0e31ecd9)

An even better answer, thanks Adavize.

[Adavize Hassan](https://hashnode.com/@ozorku)

[Jul 31, 2019](https://hashnode.com/posts/introduction-to-writing-better-css-with-bem/5d3c2a5f8516f72c614dd359/comment/5d3f4448ea67aca069f051b7#reply-5d4189bbb4f847bd59310aa5)

I'm glad you're satisfied.
