Skip to content

collectiveidea/css_naked_day

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CssNakedDay
===========

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 9, 2009).

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? %>
  <h3>What happened to the design?</h3>
  <p>To know more about why styles are disabled on this website visit the
  <a href="http://naked.dustindiaz.com" title="Web Standards Naked Day Host Website">
  Annual CSS Naked Day</a> website for more information.</p>
<% end %>


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


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

About

A Rails plugin that disables all CSS on CSS Naked Day

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages