Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Block Element Modifier - Element Modifier #99

Closed
TomS- opened this issue Jul 12, 2016 · 1 comment
Closed

Block Element Modifier - Element Modifier #99

TomS- opened this issue Jul 12, 2016 · 1 comment
Labels

Comments

@TomS-
Copy link

TomS- commented Jul 12, 2016

I was wondering what would happen in the following instance. I couldn't seem to find an example anywhere. Also I've noticed the last two issues haven't been answered in over a month, is this still active?

<div class="intro">
    <span class="intro__span--title"></span>
    <span class="intro__span"></span>
    <span class="intro__span"></span>
</div>
.intro__span { display: block; }
.intro__span--title { font-size: 1.1em; }

Now the intro__span--title doesn't take on intro__span so do you have to do <span class="intro__span intro__span--title"></span>

@mortensassi
Copy link

Wouldn't you go like this?

<span class="intro__span-title"></span>

Makes it simpler? Furthermore your example confuses me. Why would you name the elements __span since they are already spans? I think i'd be cool with the following:

<div class="intro">
    <span class="intro__elem-title"></span>
    <span class="intro__elem"></span>
    <span class="intro__elem"></span>
    <span class="intro__elem"></span>
</div>

@getbem getbem locked and limited conversation to collaborators Sep 12, 2022
@floatdrop floatdrop converted this issue into discussion #273 Sep 12, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

3 participants