src/cm/media/js/lib/yui/yui_3.10.3/docs/cssreset/cssreset-basic.html
changeset 525 89ef5ed3c48b
equal deleted inserted replaced
524:322d0feea350 525:89ef5ed3c48b
       
     1 <!DOCTYPE html>
       
     2 <html lang="en">
       
     3 <head>
       
     4     <meta charset="utf-8">
       
     5     <title>Example: Global (Page-Level) Example</title>
       
     6     <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic">
       
     7     <link rel="stylesheet" href="../../build/cssgrids/cssgrids-min.css">
       
     8     <link rel="stylesheet" href="../assets/css/main.css">
       
     9     <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
       
    10     <link rel="shortcut icon" type="image/png" href="../assets/favicon.png">
       
    11     <script src="../../build/yui/yui-min.js"></script>
       
    12     
       
    13 </head>
       
    14 <body>
       
    15 <!--
       
    16 <a href="https://github.com/yui/yui3"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
       
    17 -->
       
    18 <div id="doc">
       
    19     <div id="hd">
       
    20         <h1><img src="http://yuilibrary.com/img/yui-logo.png"></h1>
       
    21     </div>
       
    22     
       
    23 
       
    24             <h1>Example: Global (Page-Level) Example</h1>
       
    25     <div class="yui3-g">
       
    26         <div class="yui3-u-3-4">
       
    27             <div id="main">
       
    28                 <div class="content">
       
    29 <div class="intro">
       
    30     <p>When CSS Reset is included in a page it removes the browser-provided style of HTML elements (by generally setting values to 0). This example shows what that looks like.</p>
       
    31 
       
    32 </div>
       
    33 
       
    34 <div class="example newwindow">
       
    35     <a href="cssreset-basic-example.html" target="_blank" class="button">
       
    36         View Example in New Window
       
    37     </a>
       
    38 </div>
       
    39 
       
    40 <h3>Note:</h3>
       
    41 <p>Because CSS examples are susceptible to other CSS on the page, this example is only available in a new window at the above link.</p>
       
    42 <script>
       
    43 
       
    44 <script>
       
    45 YUI.Env.Tests = {
       
    46     examples: [],
       
    47     project: '../assets',
       
    48     assets: '../assets/cssreset',
       
    49     name: 'cssreset-basic',
       
    50     title: 'Global (Page-Level) Example',
       
    51     newWindow: 'true',
       
    52     auto:  false 
       
    53 };
       
    54 YUI.Env.Tests.examples.push('cssreset-basic');
       
    55 YUI.Env.Tests.examples.push('cssreset-context');
       
    56 
       
    57 </script>
       
    58 <script src="../assets/yui/test-runner.js"></script>
       
    59 
       
    60 
       
    61 </script></div>
       
    62             </div>
       
    63         </div>
       
    64 
       
    65         <div class="yui3-u-1-4">
       
    66             <div class="sidebar">
       
    67                 
       
    68 
       
    69                 
       
    70                     <div class="sidebox">
       
    71                         <div class="hd">
       
    72                             <h2 class="no-toc">Examples</h2>
       
    73                         </div>
       
    74 
       
    75                         <div class="bd">
       
    76                             <ul class="examples">
       
    77                                 
       
    78                                     
       
    79                                         <li data-description="When CSS Reset is included in a page, it removes the browser-provided styling for HTML elements.">
       
    80                                             <a href="cssreset-basic.html">Global (Page-Level) Example</a>
       
    81                                         </li>
       
    82                                     
       
    83                                 
       
    84                                     
       
    85                                         <li data-description="CSS Reset applied to a portion of a page based on the location of a class value.">
       
    86                                             <a href="cssreset-context.html">Contextual Example</a>
       
    87                                         </li>
       
    88                                     
       
    89                                 
       
    90                             </ul>
       
    91                         </div>
       
    92                     </div>
       
    93                 
       
    94 
       
    95                 
       
    96             </div>
       
    97         </div>
       
    98     </div>
       
    99 </div>
       
   100 
       
   101 <script src="../assets/vendor/prettify/prettify-min.js"></script>
       
   102 <script>prettyPrint();</script>
       
   103 
       
   104 <script>
       
   105 YUI.Env.Tests = {
       
   106     examples: [],
       
   107     project: '../assets',
       
   108     assets: '../assets/cssreset',
       
   109     name: 'cssreset-basic',
       
   110     title: 'Global (Page-Level) Example',
       
   111     newWindow: 'true',
       
   112     auto:  false 
       
   113 };
       
   114 YUI.Env.Tests.examples.push('cssreset-basic');
       
   115 YUI.Env.Tests.examples.push('cssreset-context');
       
   116 
       
   117 </script>
       
   118 <script src="../assets/yui/test-runner.js"></script>
       
   119 
       
   120 
       
   121 
       
   122 </body>
       
   123 </html>