0
0
0andrew272016-11-15 08:42:56
ruby
0andrew27, 2016-11-15 08:42:56

How to make it .body { margin: 0; } - how to write it in ruby?

require 'sinatra'

get '/' do
 slim <<EOF
    doctype html
    html
      head 
        body
        title
       
       iframe width="100%"scrolling="no" height="750" src="" frameborder="0" #{details.hostname}
        
EOF
 
end

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Demidenko, 2016-11-15
@Dem1

Sinatra loads all static files from public by default
Put js and css there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question