1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-31 08:45:21 +02:00
Files
webslides/doc/styleguide/item-landings-and-portfolio-cards.html
2017-10-09 21:25:49 +02:00

186 lines
6.8 KiB
HTML

<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<title>WebSlides - Documentation 1.5.0</title>
<meta name="description" content="">
<meta name="generator" content="kss-node">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="kss-assets/kss.css">
<link rel="stylesheet" href="../../static/css/webslides.css">
</head>
<body id="kss-node" class="kss-fullscreen-mode">
<header class="kss-header">
<h1 class="kss-doc-title"><img src="../../static/images/favicons/favicon.svg" alt="WebSlides - Documentation 1.5.0" /></h1>
<nav class="kss-header-nav">
<ul>
<li><a href="../../index.html" target="_blank" class="">WebSlides</a></li>
<li><a href="./" target="_blank" class="kss-menu-active">Documentation</a></li>
<li><a href=".../demos/index.html" target="_blank" class="">Demos</a></li>
</ul>
</nav>
</header>
<div class="kss-sub-header">
<p>WebSlides - Documentation 1.5.0</p>
</div>
<div class="kss-container">
<div class="kss-sidebar kss-style">
<nav class="kss-nav">
<ul class="kss-nav__menu">
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link " href="./">
<span class="kss-nav__name">Introduction</span>
</a>
</li>
<li class="kss-nav__menu-item kss-nav-has-children">
<a class="kss-nav__menu-link " href="section-forms.html">
<span class="kss-nav__name">Forms</span>
</a>
</li>
<li class="kss-nav__menu-item kss-nav-has-children">
<a class="kss-nav__menu-link " href="section-landings-and-portfolio.html">
<span class="kss-nav__name">Landings and portfolio</span>
</a>
</li>
<li class="kss-nav__menu-item kss-nav-has-children">
<a class="kss-nav__menu-link " href="section-layout.html">
<span class="kss-nav__name">Layout</span>
</a>
</li>
<li class="kss-nav__menu-item kss-nav-has-children">
<a class="kss-nav__menu-link " href="section-longforms.html">
<span class="kss-nav__name">Longform</span>
</a>
</li>
<li class="kss-nav__menu-item kss-nav-has-children">
<a class="kss-nav__menu-link " href="section-media.html">
<span class="kss-nav__name">Media</span>
</a>
</li>
<li class="kss-nav__menu-item kss-nav-has-children">
<a class="kss-nav__menu-link " href="section-multipurpose-blocks.html">
<span class="kss-nav__name">Multipurpose blocks</span>
</a>
</li>
<li class="kss-nav__menu-item kss-nav-has-children">
<a class="kss-nav__menu-link " href="section-typography.html">
<span class="kss-nav__name">Typography</span>
</a>
</li>
</ul>
</nav>
</div>
<div role="main" class="kss-main">
<div id="kssref-landings-and-portfolio-cards" class="kss-section kss-section--depth-2 is-fullscreen">
<div class="kss-style">
<h2 class="kss-title kss-title--level-2">
<a class="kss-title__permalink" href="#kssref-landings-and-portfolio-cards">
Cards
</a>
</h2>
<div class="kss-description">
<p>Different sizes: .card-30, .card-40, .card-50, .card-60, .card-70, .card-80</p>
</div>
</div>
<div class="kss-modifier__heading kss-style">
Demos
</div>
<ul class="kss__demos">
<li>
<a href="https://webslides.tv/demos/classes#slide&#x3D;23" title="Card 50" target="_blank">Card 50</a>
</li>
<li>
<a href="https://webslides.tv/demos/classes#slide&#x3D;24" title="Where we are" target="_blank">Where we are</a>
</li>
<li>
<a href="https://webslides.tv/demos/classes#slide&#x3D;25" title="Fullscreen" target="_blank">Fullscreen</a>
</li>
<li>
<a href="https://webslides.tv/demos/components#slide&#x3D;75" title="Card 60" target="_blank">Card 60</a>
</li>
</ul>
<div class="kss-modifier__wrapper">
<div class="kss-modifier__heading kss-style">
Example
</div>
<div class="kss-modifier__example">
<div class="card-50">
<figure><img class="aligncenter" src="/static/images/iphone.png" alt="iPhone"></figure>
<div class="flex-content">
<h2>iPhone 7</h2>
<p class="text-intro">3D Touch, 12MP photos, and 4K video.</p>
<p>Every iPhone they have made was built on the same belief. That a phone should be more than a collection of features. That, above all, a phone should be absolutely simple, beautiful, and magical to use.</p>
</div>
</div>
<div class="kss-modifier__example-footer"></div>
</div>
</div>
<details class="kss-markup kss-style">
<summary>
Markup
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html"> &lt;div class&#x3D;&quot;card-50&quot;&gt;
&lt;figure&gt;&lt;img class&#x3D;&quot;aligncenter&quot; src&#x3D;&quot;/static/images/iphone.png&quot; alt&#x3D;&quot;iPhone&quot;&gt;&lt;/figure&gt;
&lt;div class&#x3D;&quot;flex-content&quot;&gt;
&lt;h2&gt;iPhone 7&lt;/h2&gt;
&lt;p class&#x3D;&quot;text-intro&quot;&gt;3D Touch, 12MP photos, and 4K video.&lt;/p&gt;
&lt;p&gt;Every iPhone they have made was built on the same belief. That a phone should be more than a collection of features. That, above all, a phone should be absolutely simple, beautiful, and magical to use.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;</code></pre>
</details>
<div class="kss-source kss-style">
Source: <code>modules/_cards.scss</code>, line 1
</div>
</div>
</div>
</div>
<!-- SCRIPTS -->
<script src="kss-assets/kss.js"></script>
<script src="kss-assets/scrollspy.js"></script>
<script src="kss-assets/prettify.js"></script>
<script src="kss-assets/kss-fullscreen.js"></script>
<script src="kss-assets/kss-guides.js"></script>
<script src="kss-assets/kss-markup.js"></script>
<script>
prettyPrint();
var spy = new ScrollSpy('#kss-node', {
nav: '.kss-nav__menu-child > li > a',
className: 'is-in-viewport'
});
var kssFullScreen = new KssFullScreen({
idPrefix: 'kss-fullscreen-',
bodyClass: 'kss-fullscreen-mode',
elementClass: 'is-fullscreen'
});
var kssGuides = new KssGuides({
bodyClass: 'kss-guides-mode'
});
var kssMarkup = new KssMarkup({
bodyClass: 'kss-markup-mode',
detailsClass: 'kss-markup'
});
</script>
<!-- Automatically built using <a href="https://github.com/kss-node/kss-node">kss-node</a>. -->
</body>
</html>