<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example: Responsive Newspaper Layout</title>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic">
<link rel="stylesheet" href="../../build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/css/main.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
<link rel="shortcut icon" type="image/png" href="../assets/favicon.png">
<script src="../../build/yui/yui-min.js"></script>
</head>
<body>
<!--
<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>
-->
<div id="doc">
<div id="hd">
<h1><img src="http://yuilibrary.com/img/yui-logo.png"></h1>
</div>
<h1>Example: Responsive Newspaper Layout</h1>
<div class="yui3-g">
<div class="yui3-u-3-4">
<div id="main">
<div class="content"><div class="intro">
<p>The HTML for this example uses YUI3 Responsive Grids syntax to look great on different screen sizes (resize this page or view it on a smartphone). On larger screens, there are three columns. However, if viewed on a screen that is smaller than 767px, the columns stack vertically. The right-most column, which shows a stack of content on larger widths, changes to show a grid on smaller widths.</p>
</div>
<div class="example newwindow">
<a href="cssgrids-magazine-example.html" target="_blank" class="button">
View Example in New Window
</a>
</div>
</div>
</div>
</div>
<div class="yui3-u-1-4">
<div class="sidebar">
<div class="sidebox">
<div class="hd">
<h2 class="no-toc">Examples</h2>
</div>
<div class="bd">
<ul class="examples">
<li data-description="Each unit has a className that provides its percentage width.">
<a href="cssgrids-units.html">Using Grid Units</a>
</li>
<li data-description="This is a template for creating fixed-width layouts.">
<a href="cssgrids-fixed.html">Fixed Page Template</a>
</li>
<li data-description="This is a template for creating fluid layouts.">
<a href="cssgrids-fluid.html">Fluid Page Template</a>
</li>
<li data-description="Basic CSS properties are leveraged to horizontally and vertically align units.">
<a href="cssgrids-align.html">Aligning Grid Units</a>
</li>
<li data-description="A responsive layout that looks like a newspaper">
<a href="cssgrids-magazine.html">Responsive Newspaper Layout</a>
</li>
</ul>
</div>
</div>
<div class="sidebox">
<div class="hd">
<h2 class="no-toc">Examples That Use This Component</h2>
</div>
<div class="bd">
<ul class="examples">
<li data-description="Creating left navigation using the MenuNav Node Plugin.">
<a href="../node-menunav/menunav-leftnav.html">Basic Left Nav</a>
</li>
<li data-description="Creating top navigation using the MenuNav Node Plugin">
<a href="../node-menunav/node-menunav-2.html">Basic Top Nav</a>
</li>
<li data-description="Creating menu button navigation using the MenuNav Node Plugin">
<a href="../node-menunav/node-menunav-3.html">Menu Button Top Nav</a>
</li>
<li data-description="Creating split button navigation using the MenuNav Node Plugin">
<a href="../node-menunav/node-menunav-4.html">Split Button Top Nav</a>
</li>
<li data-description="Adding shadows to submenus of a left nav using the MenuNav Node Plugin">
<a href="../node-menunav/node-menunav-5.html">Left Nav with Submenus with Shadows</a>
</li>
<li data-description="Adding rounded corners to submenus of a left nav using the MenuNav Node Plugin">
<a href="../node-menunav/node-menunav-6.html">Left Nav With Submenus With Rounded Corners</a>
</li>
<li data-description="Skining a menu built using the MenuNav Node Plugin to look like the menus on Flickr">
<a href="../node-menunav/node-menunav-7.html">Skinning Menus Created Using the MenuNav Node Plugin</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="../assets/vendor/prettify/prettify-min.js"></script>
<script>prettyPrint();</script>
<script>
YUI.Env.Tests = {
examples: [],
project: '../assets',
assets: '../assets/cssgrids',
name: 'cssgrids-magazine',
title: 'Responsive Newspaper Layout',
newWindow: 'true',
auto: false
};
YUI.Env.Tests.examples.push('cssgrids-units');
YUI.Env.Tests.examples.push('cssgrids-fixed');
YUI.Env.Tests.examples.push('cssgrids-fluid');
YUI.Env.Tests.examples.push('cssgrids-align');
YUI.Env.Tests.examples.push('cssgrids-magazine');
YUI.Env.Tests.examples.push('menunav-leftnav');
YUI.Env.Tests.examples.push('node-menunav-2');
YUI.Env.Tests.examples.push('node-menunav-3');
YUI.Env.Tests.examples.push('node-menunav-4');
YUI.Env.Tests.examples.push('node-menunav-5');
YUI.Env.Tests.examples.push('node-menunav-6');
YUI.Env.Tests.examples.push('node-menunav-7');
</script>
<script src="../assets/yui/test-runner.js"></script>
</body>
</html>