Browse the Ruby on Rails Community.

You are here: Browse Railsplugins Css Naked Day

Css Naked Day

This plugin disables all stylesheets on CSS Naked Day. http://naked.dustindiaz.com/

As long as you’re using Rails’ stylesheet_link_tag helper, your CSS will automatically be hidden on Naked Day (April 5).

It also adds a method to the Date class so you can check if a day is Naked Day.

Example

<% if Date.today.is_css_naked_day? %> What happened to the design? To know more about why styles are disabled on this website visit the <% end %>

Annual CSS Naked Day website for more information.

Read more at: http://daniel.collectiveidea.com/blog/tags/css_naked_day

Copyright© 2007 Daniel Morrison, Collective Idea http://collectiveidea.com, released under the MIT license

NOTE: This description has been extracted from the Plugin README and so the formatting may need updating to make browser friendly

Users


See all details


Membership

+ Join this railsplugin

Record Maintainer

'None'