Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Repeats same property when found duplicate selector #16

Open
vinaykrsharma opened this Issue · 1 comment

2 participants

VINAY Kr. SHARMA Robert (Jamie) Munro
VINAY Kr. SHARMA

I tried:

#container-fluid,
#row-fluid,
#row-fluid > .span2,
#sidebar-nav,
#wrapper {
    height: 100%;
    min-height: 100%;
}

#container-fluid,
#row-fluid,
#row-fluid > .span2,
#sidebar-nav,
#wrapper {
    height: 100%;
    min-height: 100%;
}

#container-fluid,
#row-fluid,
#row-fluid > .span2,
#sidebar-nav,
#wrapper {
    height: 100%;
    min-height: 100%;
}

and it produces:
here height and min-height is repeating thrice, because above same selector repeating thrice

#container-fluid,#row-fluid,#row-fluid &>.span2,#sidebar-nav,#wrapper {
    height: 100%;
    min-height: 100%;
    height: 100%;
    min-height: 100%;
    height: 100%;
    min-height: 100%;
}
Robert (Jamie) Munro

Or, more simply:

#hello {
    color: blue;
}
#hello {
    color: blue;
}

produces:

#hello {
    color: blue;
    color: blue;
}

I don't think this is a bug. The root cause of the problem is that your original CSS is bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.