bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Chrome Inspector showing empty CSS Rules

Open thoughtshop opened this issue 14 years ago • 2 comments

There seems to be something in Bootstrap that is causing Chrome not to display matched styles in the inspector. This could be a Chrome issue, but perhaps a bad css attribute is causing the problem.

The inspector displays the matched CSS classes, and the correct line number of the CSS files, but the lines inside the css rule are empty.

Example: http://twitter.github.com/bootstrap/examples/fluid.html Inspect one of the links in the sidebar.

bootstrap.css:3244 .nav-list > li > a, .nav-list .nav-header {

}

Chrome Stable, Chrome Dev, and Canary all currently exhibit the problem. Safari inspector works fine.

thoughtshop avatar Jul 25 '12 14:07 thoughtshop

I fired up my browser (Chrome Version 20.0.1132.57 on OS X Lion) and I was able to see the attributes in the inspector for bootstrap.css:3244.

.nav-list > li > a, .nav-list .nav-header {
    margin-right: -15px;
    margin-left: -15px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

natansh avatar Jul 25 '12 14:07 natansh

You're right. Chrome Stable is fine. My error.

ghost avatar Jul 25 '12 14:07 ghost