Method: Assette::Reader::Css.error
- Defined in:
- lib/assette/readers/css.rb
.error(str, stack = nil) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/assette/readers/css.rb', line 9 def error str, stack = nil <<-CSS body:before { position: absolute; top: 0px; padding: 10px; font-size: 18px; text-align: center; width: 100%; display: block; content: #{str.inspect}; background-color: #992E40; color: white; font-weight:bold; z-index: 9999; } CSS end |