Where I was coming from:
- Using a Rails app
- Had lots of custom css written on top of Blueprint / Compass
- Wanted to switch to use Twitter Bootstrap with Compass
- Wanted to take small steps
module Wysihtml5Helper | |
def fill_in_wysihtml5(text) | |
#js must be enabled | |
page.execute_script("editor.setValue('#{text}')") | |
end | |
end |
/* Default styles I wish were included in Twitter Bootstrap */ | |
/* allow for easy vertical alignment of elements */ | |
.media_block { | |
display: table; | |
overflow: hidden; | |
.cell { | |
display:table-cell; | |
vertical-align:middle; | |
} |