|
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"><div class="intro"> |
|
29 <p>CSS Base applies a consistent style foundation for common HTML elements. This example shows what that looks like when applied on top of CSS Reset and CSS Fonts.</p> |
|
30 </div> |
|
31 |
|
32 <div class="example newwindow"> |
|
33 <a href="cssbase-basic-example.html" target="_blank" class="button"> |
|
34 View Example in New Window |
|
35 </a> |
|
36 </div> |
|
37 |
|
38 <h3>Note:</h3> |
|
39 <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> |
|
40 |
|
41 |
|
42 </div> |
|
43 </div> |
|
44 </div> |
|
45 |
|
46 <div class="yui3-u-1-4"> |
|
47 <div class="sidebar"> |
|
48 |
|
49 |
|
50 |
|
51 <div class="sidebox"> |
|
52 <div class="hd"> |
|
53 <h2 class="no-toc">Examples</h2> |
|
54 </div> |
|
55 |
|
56 <div class="bd"> |
|
57 <ul class="examples"> |
|
58 |
|
59 |
|
60 <li data-description="When CSS Base is included in a page it provides consistent and basic cross-browser styling for HTML elements."> |
|
61 <a href="cssbase-basic.html">Global (Page-Level) Example</a> |
|
62 </li> |
|
63 |
|
64 |
|
65 |
|
66 <li data-description="CSS Base applied to a portion of a page based on the location of a class value."> |
|
67 <a href="cssbase-context.html">Contextual Example</a> |
|
68 </li> |
|
69 |
|
70 |
|
71 |
|
72 |
|
73 |
|
74 |
|
75 </ul> |
|
76 </div> |
|
77 </div> |
|
78 |
|
79 |
|
80 |
|
81 <div class="sidebox"> |
|
82 <div class="hd"> |
|
83 <h2 class="no-toc">Examples That Use This Component</h2> |
|
84 </div> |
|
85 |
|
86 <div class="bd"> |
|
87 <ul class="examples"> |
|
88 |
|
89 |
|
90 |
|
91 |
|
92 |
|
93 |
|
94 <li data-description="When CSS Reset is included in a page, it removes the browser-provided styling for HTML elements."> |
|
95 <a href="../cssreset/cssreset-basic.html">Global (Page-Level) Example</a> |
|
96 </li> |
|
97 |
|
98 |
|
99 |
|
100 <li data-description="CSS Reset applied to a portion of a page based on the location of a class value."> |
|
101 <a href="../cssreset/cssreset-context.html">Contextual Example</a> |
|
102 </li> |
|
103 |
|
104 |
|
105 </ul> |
|
106 </div> |
|
107 </div> |
|
108 |
|
109 </div> |
|
110 </div> |
|
111 </div> |
|
112 </div> |
|
113 |
|
114 <script src="../assets/vendor/prettify/prettify-min.js"></script> |
|
115 <script>prettyPrint();</script> |
|
116 |
|
117 <script> |
|
118 YUI.Env.Tests = { |
|
119 examples: [], |
|
120 project: '../assets', |
|
121 assets: '../assets/cssbase', |
|
122 name: 'cssbase-basic', |
|
123 title: 'Global (Page-Level) Example', |
|
124 newWindow: 'true', |
|
125 auto: false |
|
126 }; |
|
127 YUI.Env.Tests.examples.push('cssbase-basic'); |
|
128 YUI.Env.Tests.examples.push('cssbase-context'); |
|
129 YUI.Env.Tests.examples.push('cssreset-basic'); |
|
130 YUI.Env.Tests.examples.push('cssreset-context'); |
|
131 |
|
132 </script> |
|
133 <script src="../assets/yui/test-runner.js"></script> |
|
134 |
|
135 |
|
136 |
|
137 </body> |
|
138 </html> |