CSS naked day

Show off your sexy booty!


Welcome to the CSS Naked Day website!

Join us for the yearly festivities of going nude on the web!

Where did the design go?

The website you just came from is not broken, its owner has decided to participate to CSS Naked Day! CSS Naked Day is an event that is held once per year to celebrate good & well planned design. The website you come from will be back to its normal state tomorrow.

What does that mean?

The idea behind this event is to promote Web Standards. Plain and simple. This includes proper use of HTML, semantic markup, a good hierarchy structure, and of course, a good old play on words. It's time to show off your <body> for what it really is.

How to participate

You can join the Google group dedicated to CSS Naked day.

On April 9th, simply remove all CSS from your website, stripping it entirely of its design.

You can link to this page to let your visitors know about the nudity of your website! This option is for those who feel a need to give their visitors a reference as to what's going on. This is not about getting traffic or making money. There are no ads on this site, nor will there ever be. This is about you, the people; getting naked.

Don't think, just strip

Here is a sample PHP function for developers:

<?php
function is_naked_day($d) {
  $start = date('U', mktime(-12, 0, 0, 04, $d, date('Y')));
  $end = date('U', mktime(36, 0, 0, 04, $d, date('Y')));
  $z = date('Z') * -1;
  $now = time() + $z; 
  if ( $now >= $start && $now <= $end ) {
    return true;
  }
  return false;
}
?>

Use it like this:

<head>
…
<?php
if ( is_naked_day(9) ) {
  echo '<!-- naked day has no styles -->';
} else {
  echo '<link rel="stylesheet" type="text/css" href="styles.css" />';
}
?>
…
</head>

Wait… Isn't that 48 hours?

That's correct. CSS Naked Day lasts for one international day. Technically speaking, it will be "April 9th" somewhere in the world for 48 hours. This is to ensure that everyone's website will be publicly nude for the entire world to see at any given time during April 9.

Tools & plugins

Attention Plugin Developers. If you have a CSS Naked Day plugin for a popular CMS, or written in a programming language not listed here, feel free to add it and make a pull request, or post an email on the dedicated Google group if you’re not familiar with GIT!

Origins

CSS Naked day started in 2008 by Dustin Diaz, with the 2014 edition hosted by Taylor Satula. The content in this page is extracted from the content of these pages.

Famous Words

This is a fun idea, fully in line with the reasons for creating CSS in the first place. While most designers are attracted by the extra presentational capabilities, saving HTML from becoming a presentational language was probably a more important motivation for most people who participated in the beginning.

Håkon Wium Lie

View on GitHub