CSS Naked Day

https://news.ycombinator.com/rss Hits: 1
Summary

April 9 is CSS Naked Day! Join us for the yearly festivities on April 9 of going nude on the Web! The idea behind CSS Naked Day 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. In the words of 2006, it’s time to show off your <body> for what it really is. On April 9, 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. You can instead add your website(s) here by creating an issue or updating the proper file! Note: Alphabetical order should prevent merge conflicts. Here is a sample PHP function for developers: <?php function is_naked_day($d) { $start = date('U', mktime(-14, 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" href="styles.css" />'; } ?> … </head> That’s correct. CSS Naked Day lasts for one international day. Technically speaking, it will be April 9 somewhere in the world for 50 hours, from 00:00, April 9 UTC+14:00 to 00:00, April 10 UTC-12:00 (10:00, April 8 UTC+00:00 to 12:00, April 10 UTC+00:00). 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. 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 make a pull request and add it, or ...

First seen: 2025-04-09 13:35

Last seen: 2025-04-09 13:35