The following Sass will do it: hr color: #ddd background-color: #ddd border: none height: 1px
PaintbrushJS is a lightweight, browser-based image processing library that can apply various visual filters to images within a web...
Currently not possible as the linked .htc file contains JavaScript which is not explicitly called. The developers are working on...
In Webkit you can use the HTML5-attribute autofocus: = form.text_field :title, :autofocus => 'autofocus' Here is a jQuery fallback for...
Some browsers render PNG images with color profiles and other shenanigans, some do not. The cleanest way to have consistent...
Notebook: 1280x800 (many consumer notebooks) Netbook: 1024x600 Desktop: 1440x900 / 1680x1050 (19"- und 22"-Widescreen-TFTs) iPad: 768x1024
Most of these will not work in newer projects because these use the Capybara/Rack::Test combo in lieu of Webrat...
When a paperclip attachment gains a new style and you have many attachments, reprocessing can take ages. This is because...
has_attached_file( :avatar, :styles => { :large => "300x300", :small => "100x100" }, :convert_options => { all => "-colorspace RGB" } )
We built cucumber_spinner to have a progress bar for Cucumber features, which also outputs failing scenarios as soon as...
To parse XML-documents, I recommend the gem nokogiri. A few hints: xml = Nokogiri::XML(" foo bar ") parses an xml...
See the lemonade descriptions. Unfortunately, the gem has a few problems: it does not work with Sass2...
This is about converting Haml to ERB and not the other way round which you probably want! This process can...
.error, .information, .warning { font-weight: bold; } .notice { color: #11bb00; } .error { color: #F53A31; } .information { color: #557; } .warning { color: #d07d2d; }
ActsAsSolr::Post.execute(Solr::Request::Delete.new(:query => "#{Location.solr_configuration[:type_field]}:#{ModelClass}")) ActsAsSolr::Post.execute(Solr::Request::Commit.new)
tmp/* storage/* db/*.sqlite3 db/schema.rb db/structure.sql public/system .project .idea/ public/javascripts/all* public/stylesheets/all* public/stylesheets/*.css config/database.yml *~ *#* .#* .DS_Store webrat-*.html
JSViz makes it easy to create dynamic 2D views of information. Practical applications include network graphs, navigation, and other dynamic...
Web performance expert Nicole Sullivan discusses a set of best practices in the creation of supremely fast, visually impactful web...
Maybe I haven’t been paying close enough attention, but over the past few years an interesting variation of CSS...
I am a huge fan of SASS (Syntactically Awesome Stylesheets) for styling Rails applications. I have been using it on...
Until some future version of HTML gives us new native controls to use in a browser, at Google, we’ve...