0

I have a Ruby application, and here is my setup:

I have this HAML code:

  .alert.alert-info
    %p="This is the correct style."

The sidebar.css has this:

/*
 * THIS IS THE MANIFEST FILE FOR THE LAYOUT: SIDEBAR
 *= require_self
 *= require bootstrap
 *= require bootstrap-responsive
 *= require bootstrap_overrides
 *= require layout/buttons
 *= require sidebar/base
*/

The web page renders the text "This is the correct style" but not the styling for it.

Here is the page with the styling documentation:

http://twitter.github.com/bootstrap/components.html#alerts

Any idea what I might be missing or need to set up still? The css styles are just not rendering.

Thanks!

4

1 回答 1

1

Not sure if you use LESS or not, by I import Bootstrap like this:

@import "twitter/bootstrap/bootstrap";

于 2012-06-14T22:53:39.357 回答