Feb 23rd, 2021
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="utf-8">
  5.     <title>CSS Zen Garden: The Beauty of CSS Design</title>
  7.     <link rel="stylesheet" media="screen" href="http://www.csszengarden.com/214/214.css?v=8may2013">
  8.     <link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.csszengarden.com/zengarden.xml">
  10.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11.     <meta name="author" content="Dave Shea">
  12.     <meta name="description" content="A demonstration of what can be accomplished visually through CSS-based design.">
  13.     <meta name="robots" content="all">
  16.     <!--[if lt IE 9]>
  17.     <script src="script/html5shiv.js"></script>
  18.     <![endif]-->
  19. </head>
  21. <body id="css-zen-garden">
  22. <div class="page-wrapper">
  24.     <section class="intro" id="zen-intro">
  25.         <header role="banner">
  26.             <h1>CSS Zen Garden</h1>
  27.             <h2>The Beauty of <abbr title="Cascading Style Sheets">CSS</abbr> Design</h2>
  28.         </header>
  30.         <div class="summary" id="zen-summary" role="article">
  31.             <p>A demonstration of what can be accomplished through <abbr title="Cascading Style Sheets">CSS</abbr>-based design. Select any style sheet from the list to load it into this page.</p>
  32.         </div>
  34.         <div class="preamble" id="zen-preamble" role="article">
  35.             <h3>The Road to Enlightenment</h3>
  36.             <p>Littering a dark and dreary road lay the past relics of browser-specific tags, incompatible <abbr title="Document Object Model">DOM</abbr>s, broken <abbr title="Cascading Style Sheets">CSS</abbr> support, and abandoned browsers.</p>
  37.             <p>We must clear the mind of the past. Web enlightenment has been achieved thanks to the tireless efforts of folk like the <abbr title="World Wide Web Consortium">W3C</abbr>, <abbr title="Web Standards Project">WaSP</abbr>, and the major browser creators.</p>
  38.             <p>The CSS Zen Garden invites you to relax and meditate on the important lessons of the masters. Begin to see with clarity. Learn to use the time-honored techniques in new and invigorating fashion. Become one with the web.</p>
  39.         </div>
  40.     </section>
  42.     <div class="main supporting" id="zen-supporting" role="main">
  43.         <div class="explanation" id="zen-explanation" role="article">
  44.             <h3>So What is This About?</h3>
  45.             <p>There is a continuing need to show the power of <abbr title="Cascading Style Sheets">CSS</abbr>. The Zen Garden aims to excite, inspire, and encourage participation. To begin, view some of the existing designs in the list. Clicking on any one will load the style sheet into this very page. The <abbr title="HyperText Markup Language">HTML</abbr> remains the same, the only thing that has changed is the external <abbr title="Cascading Style Sheets">CSS</abbr> file. Yes, really.</p>
  46.             <p><abbr title="Cascading Style Sheets">CSS</abbr> allows complete and total control over the style of a hypertext document. The only way this can be illustrated in a way that gets people excited is by demonstrating what it can truly be, once the reins are placed in the hands of those able to create beauty from structure. Designers and coders alike have contributed to the beauty of the web; we can always push it further.</p>
  47.         </div>
  49.         <div class="participation" id="zen-participation" role="article">
  50.             <h3>Participation</h3>
  51.             <p>Strong visual design has always been our focus. You are modifying this page, so strong <abbr title="Cascading Style Sheets">CSS</abbr> skills are necessary too, but the example files are commented well enough that even <abbr title="Cascading Style Sheets">CSS</abbr> novices can use them as starting points. Please see the <a href="http://www.mezzoblue.com/zengarden/resources/" title="A listing of CSS-related resources"><abbr title="Cascading Style Sheets">CSS</abbr> Resource Guide</a> for advanced tutorials and tips on working with <abbr title="Cascading Style Sheets">CSS</abbr>.</p>
  52.             <p>You may modify the style sheet in any way you wish, but not the <abbr title="HyperText Markup Language">HTML</abbr>. This may seem daunting at first if you&#8217;ve never worked this way before, but follow the listed links to learn more, and use the sample files as a guide.</p>
  53.             <p>Download the sample <a href="/examples/index" title="This page's source HTML code, not to be modified.">HTML</a> and <a href="/examples/style.css" title="This page's sample CSS, the file you may modify.">CSS</a> to work on a copy locally. Once you have completed your masterpiece (and please, don&#8217;t submit half-finished work) upload your <abbr title="Cascading Style Sheets">CSS</abbr> file to a web server under your control. <a href="http://www.mezzoblue.com/zengarden/submit/" title="Use the contact form to send us your CSS file">Send us a link</a> to an archive of that file and all associated assets, and if we choose to use it we will download it and place it on our server.</p>
  54.         </div>
  56.         <div class="benefits" id="zen-benefits" role="article">
  57.             <h3>Benefits</h3>
  58.             <p>Why participate? For recognition, inspiration, and a resource we can all refer to showing people how amazing <abbr title="Cascading Style Sheets">CSS</abbr> really can be. This site serves as equal parts inspiration for those working on the web today, learning tool for those who will be tomorrow, and gallery of future techniques we can all look forward to.</p>
  59.         </div>
  61.         <div class="requirements" id="zen-requirements" role="article">
  62.             <h3>Requirements</h3>
  63.             <p>Where possible, we would like to see mostly <abbr title="Cascading Style Sheets, levels 1 and 2">CSS 1 &amp; 2</abbr> usage. <abbr title="Cascading Style Sheets, levels 3 and 4">CSS 3 &amp; 4</abbr> should be limited to widely-supported elements only, or strong fallbacks should be provided. The CSS Zen Garden is about functional, practical <abbr title="Cascading Style Sheets">CSS</abbr> and not the latest bleeding-edge tricks viewable by 2% of the browsing public. The only real requirement we have is that your <abbr title="Cascading Style Sheets">CSS</abbr> validates.</p>
  64.             <p>Luckily, designing this way shows how well various browsers have implemented <abbr title="Cascading Style Sheets">CSS</abbr> by now. When sticking to the guidelines you should see fairly consistent results across most modern browsers. Due to the sheer number of user agents on the web these days &#8212; especially when you factor in mobile &#8212; pixel-perfect layouts may not be possible across every platform. That&#8217;s okay, but do test in as many as you can. Your design should work in at least IE9+ and the latest Chrome, Firefox, iOS and Android browsers (run by over 90% of the population).</p>
  65.             <p>We ask that you submit original artwork. Please respect copyright laws. Please keep objectionable material to a minimum, and try to incorporate unique and interesting visual themes to your work. We&#8217;re well past the point of needing another garden-related design.</p>
  66.             <p>This is a learning exercise as well as a demonstration. You retain full copyright on your graphics (with limited exceptions, see <a href="http://www.mezzoblue.com/zengarden/submit/guidelines/">submission guidelines</a>), but we ask you release your <abbr title="Cascading Style Sheets">CSS</abbr> under a Creative Commons license identical to the <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="View the Zen Garden's license information.">one on this site</a> so that others may learn from your work.</p>
  67.             <p role="contentinfo">By <a href="http://www.mezzoblue.com/">Dave Shea</a>. Bandwidth graciously donated by <a href="http://www.mediatemple.net/">mediatemple</a>. Now available: <a href="http://www.amazon.com/exec/obidos/ASIN/0321303474/mezzoblue-20/">Zen Garden, the book</a>.</p>
  68.         </div>
  70.         <footer>
  71.             <a href="http://validator.w3.org/check/referer" title="Check the validity of this site&#8217;s HTML" class="zen-validate-html">HTML</a>
  72.             <a href="http://jigsaw.w3.org/css-validator/check/referer" title="Check the validity of this site&#8217;s CSS" class="zen-validate-css">CSS</a>
  73.             <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" title="View the Creative Commons license of this site: Attribution-NonCommercial-ShareAlike." class="zen-license">CC</a>
  74.             <a href="http://mezzoblue.com/zengarden/faq/#aaa" title="Read about the accessibility of this site" class="zen-accessibility">A11y</a>
  75.             <a href="https://github.com/mezzoblue/csszengarden.com" title="Fork this site on Github" class="zen-github">GH</a>
  76.         </footer>
  78.     </div>
  81.     <aside class="sidebar" role="complementary">
  82.         <div class="wrapper">
  84.             <div class="design-selection" id="design-selection">
  85.                 <h3 class="select">Select a Design:</h3>
  86.                 <nav role="navigation">
  87.                     <ul>
  88.                     <li>
  89.                         <a href="/221/" class="design-name">Mid Century Modern</a> by                       <a href="http://andrewlohman.com/" class="designer-name">Andrew Lohman</a>
  90.                     </li>                   <li>
  91.                         <a href="/220/" class="design-name">Garments</a> by                     <a href="http://danielmall.com/" class="designer-name">Dan Mall</a>
  92.                     </li>                   <li>
  93.                         <a href="/219/" class="design-name">Steel</a> by                        <a href="http://steffen-knoeller.de" class="designer-name">Steffen Knoeller</a>
  94.                     </li>                   <li>
  95.                         <a href="/218/" class="design-name">Apothecary</a> by                       <a href="http://trentwalton.com" class="designer-name">Trent Walton</a>
  96.                     </li>                   <li>
  97.                         <a href="/217/" class="design-name">Screen Filler</a> by                        <a href="http://elliotjaystocks.com/" class="designer-name">Elliot Jay Stocks</a>
  98.                     </li>                   <li>
  99.                         <a href="/216/" class="design-name">Fountain Kiss</a> by                        <a href="http://jeremycarlson.com" class="designer-name">Jeremy Carlson</a>
  100.                     </li>                   <li>
  101.                         <a href="/215/" class="design-name">A Robot Named Jimmy</a> by                      <a href="http://meltmedia.com/" class="designer-name">meltmedia</a>
  102.                     </li>                   <li>
  103.                         <a href="/214/" class="design-name">Verde Moderna</a> by                        <a href="http://www.mezzoblue.com/" class="designer-name">Dave Shea</a>
  104.                     </li>                   </ul>
  105.                 </nav>
  106.             </div>
  108.             <div class="design-archives" id="design-archives">
  109.                 <h3 class="archives">Archives:</h3>
  110.                 <nav role="navigation">
  111.                     <ul>
  112.                         <li class="next">
  113.                             <a href="/214/page1">
  114.                                 Next Designs <span class="indicator">&rsaquo;</span>
  115.                             </a>
  116.                         </li>
  117.                         <li class="viewall">
  118.                             <a href="http://www.mezzoblue.com/zengarden/alldesigns/" title="View every submission to the Zen Garden.">
  119.                                 View All Designs                            </a>
  120.                         </li>
  121.                     </ul>
  122.                 </nav>
  123.             </div>
  125.             <div class="zen-resources" id="zen-resources">
  126.                 <h3 class="resources">Resources:</h3>
  127.                 <ul>
  128.                     <li class="view-css">
  129.                         <a href="style.css" title="View the source CSS file of the currently-viewed design.">
  130.                             View This Design&#8217;s <abbr title="Cascading Style Sheets">CSS</abbr>                        </a>
  131.                     </li>
  132.                     <li class="css-resources">
  133.                         <a href="http://www.mezzoblue.com/zengarden/resources/" title="Links to great sites with information on using CSS.">
  134.                             <abbr title="Cascading Style Sheets">CSS</abbr> Resources                       </a>
  135.                     </li>
  136.                     <li class="zen-faq">
  137.                         <a href="http://www.mezzoblue.com/zengarden/faq/" title="A list of Frequently Asked Questions about the Zen Garden.">
  138.                             <abbr title="Frequently Asked Questions">FAQ</abbr>                     </a>
  139.                     </li>
  140.                     <li class="zen-submit">
  141.                         <a href="http://www.mezzoblue.com/zengarden/submit/" title="Send in your own CSS file.">
  142.                             Submit a Design                     </a>
  143.                     </li>
  144.                     <li class="zen-translations">
  145.                         <a href="http://www.mezzoblue.com/zengarden/translations/" title="View translated versions of this page.">
  146.                             Translations                        </a>
  147.                     </li>
  148.                 </ul>
  149.             </div>
  150.         </div>
  151.     </aside>
  154. </div>
  156. <!--
  158.     These superfluous divs/spans were originally provided as catch-alls to add extra imagery.
  159.     These days we have full ::before and ::after support, favour using those instead.
  160.     These only remain for historical design compatibility. They might go away one day.
  162. -->
  163. <div class="extra1" role="presentation"></div><div class="extra2" role="presentation"></div><div class="extra3" role="presentation"></div>
  164. <div class="extra4" role="presentation"></div><div class="extra5" role="presentation"></div><div class="extra6" role="presentation"></div>
  166. </body>
  167. </html>
RAW Paste Data