Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Commit

Permalink
add build
Browse files Browse the repository at this point in the history
  • Loading branch information
itmustbe committed Jul 25, 2014
1 parent 71d7c19 commit 70f5c9f
Show file tree
Hide file tree
Showing 21 changed files with 2,231 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/styles/beemuse.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/****************************************************************************
* Beemuse
*
* Copyright 2013 ITMUSTBE, Inc.
* Copyright 2014 ITMUSTBE, Inc.
* Licensed under the MIT License
* http://opensource.org/licenses/MIT
*
Expand Down
2 changes: 1 addition & 1 deletion app/styles/main.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/****************************************************************************
* Beemuse
*
* Copyright 2013 ITMUSTBE, Inc.
* Copyright 2014 ITMUSTBE, Inc.
* Licensed under the MIT License
* http://opensource.org/licenses/MIT
*
Expand Down
544 changes: 544 additions & 0 deletions dist/.htaccess

Large diffs are not rendered by default.

308 changes: 308 additions & 0 deletions dist/3dflips.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,308 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Pure CSS3 3D flips written with Sass and packaged with Bower</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="favicon.png">
<meta name="description" content="A collection of Twitter Bootstrap components">
<meta name="author" content="Elise @ ITMUSTBE, Inc.">
<link rel="stylesheet" href="styles/vendor.css"/>
<link rel="stylesheet" href="styles/main.css"/>
<!--[if lt IE 9]>
<script src="scripts/ie.js"></script>
<![endif]-->
</head>

<body>
<div class="navbar navbar-fixed-top navbar-inverse">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#header">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Beemuse</a>
</div>
<div class="collapse navbar-collapse" id="header">
<ul class="nav navbar-nav">
<li><a href="paper">Paper</a></li>
<li><a href="stitches">Stitches</a></li>
<li class="active"><a href="3dflips">3D Flips</a></li>
<li><a href="ribbons">Ribbons</a></li>
</ul>
</div>
</div>
</div>

<div class="main">
<div class="container">
<div class="row">
<div class="col-xs-12">
<h2>Beemuse 3D Flips</h2>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
<div class="flip" style="width: 240px; height: 180px;">
<a href="#">
<div class="flip-front">
<img src="images/240x160w.gif" />
</div>
<div class="flip-back">
<img src="images/240x160g.gif" />
</div>
</a>
</div>
</div>
<div class="col-xs-12 col-sm-4">
<div class="flip" style="width: 240px; height: 180px;">
<a href="#">
<div class="flip-front">
<img src="images/240x160w.gif" />
</div>
<div class="flip-back">
<img src="images/240x160g.gif" />
</div>
</a>
</div>
</div>
<div class="col-xs-12 col-sm-4">
<div class="row">
<div class="col-xs-3">
<div class="flip" style="width: 52px; height: 80px;">
<a href="#">
<div class="flip-front">
<div class="well">
<p>...</p>
</div>
</div>
<div class="flip-back">
<div class="well">
<p>...</p>
</div>
</div>
</a>
</div>
</div>
<div class="col-xs-3">
<div class="flip" style="width: 52px; height: 80px;">
<a href="#">
<div class="flip-front">
<div class="well">
<p>...</p>
</div>
</div>
<div class="flip-back">
<div class="well">
<p>...</p>
</div>
</div>
</a>
</div>
</div>
<div class="col-xs-3">
<div class="flip" style="width: 52px; height: 80px;">
<a href="#">
<div class="flip-front">
<div class="well">
<p>...</p>
</div>
</div>
<div class="flip-back">
<div class="well">
<p>...</p>
</div>
</div>
</a>
</div>
</div>
<div class="col-xs-3">
<div class="flip" style="width: 52px; height: 80px;">
<a href="#">
<div class="flip-front">
<div class="well">
<p>...</p>
</div>
</div>
<div class="flip-back">
<div class="well">
<p>...</p>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-6">
<h3>Usage</h3>
<div class="well">
<p>
Relatively-positioned .flip element (containing absolutely-positioned .flip-front and .flip-back elements)
<strong>requires width and height</strong> to be specified (width, to avoid the flip trigger area from auto-expanding
in its containing element, and height, including a bottom margin of your choosing).
Keep in mind how setting these may affect responsive versions of .flip elements (the width and height
may need to be reset at the appropriate breakpoints).
</p>
<p>
Degrades gracefully (simply shows back or front without animation). IE10+ support.
</p>
<p>
Credit: homebrewed as most demos use javascript or don't get it quite right :)</a>
</p>
</div>
</div>
<div class="col-xs-12 col-md-6">
<h3>HTML</h3>
<pre class="prettyprint linenums">
&lt;div class="flip" style="width: X.px; height: X.px;"&gt;
&lt;a href="#"&gt;
&lt;div class="flip-front"&gt;
...
&lt;/div&gt;
&lt;div class="flip-back"&gt;
...
&lt;/div&gt;
&lt;/a&gt;
&lt;/div&gt;
</pre>
</div>
</div>
<!--<div class="row">
<div class="col-xs-12 col-md-6">
<h3>SCSS</h3>
<pre class="prettyprint linenums">
@import "compass/css3";
/* 3D Flips */
.flip {
position: relative;
@include perspective(1000);
.flip-front, .flip-back {
position: absolute;
top: 0;
left: 0;
@include transform-style(preserve-3d);
@include backface-visibility(hidden);
@include transition(0.75s);
}
.flip-front {
z-index: 5;
}
.flip-back {
z-index: 0;
@include rotateY(-180deg);
}
&amp;:hover .flip-front {
z-index: 5;
@include rotateY(180deg);
}
&amp;:hover .flip-back {
z-index: 10;
@include rotateY(0deg);
}
}
</pre>
</div>
<div class="col-xs-12 col-md-6">
<h3>CSS</h3>
<pre class="prettyprint linenums">
.flip {
position: relative;
-webkit-perspective: 1000;
-moz-perspective: 1000;
-ms-perspective: 1000;
-o-perspective: 1000;
perspective: 1000;
}
.flip .flip-front, .flip .flip-back {
position: absolute;
top: 0;
left: 0;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-ms-backface-visibility: hidden;
-o-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transition: 0.75s;
-moz-transition: 0.75s;
-o-transition: 0.75s;
transition: 0.75s;
}
.flip .flip-front {
z-index: 5;
}
.flip .flip-back {
z-index: 0;
-webkit-transform: rotateY(-180deg);
-moz-transform: rotateY(-180deg);
-ms-transform: rotateY(-180deg);
-o-transform: rotateY(-180deg);
transform: rotateY(-180deg);
}
.flip:hover .flip-front {
z-index: 5;
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
-ms-transform: rotateY(180deg);
-o-transform: rotateY(180deg);
transform: rotateY(180deg);
}
.flip:hover .flip-back {
z-index: 10;
-webkit-transform: rotateY(0deg);
-moz-transform: rotateY(0deg);
-ms-transform: rotateY(0deg);
-o-transform: rotateY(0deg);
transform: rotateY(0deg);
}
</pre>
</div>
</div>-->
<hr />
<div class="row">
<div class="col-xs-12 col-sm-7 col-md-7">
<p class="author">Designed and built with all the buzz in the world <a href="http://twitter.com/itmustbe">@itmustbe</a></p>
</div>
<div class="col-xs-12 col-sm-5 col-md-5">
<p class="license">Code licensed under the <a href="http://opensource.org/licenses/MIT">MIT License</a></p>
</div>
</div>
</div>
</div>

<div class="navbar navbar-fixed-bottom navbar-inverse">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#footer">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://itmustbe.com"><img src="images/itmustbe.png" class="logo"> ITMUSTBE</a>
</div>
<div class="collapse navbar-collapse" id="footer">
<ul class="nav navbar-nav">
<li><a href="http://enlightenedbugs.com">Enlightened Bugs</a></li>
<li><a href="http://savebees.org">Save Bees</a></li>
</ul>
</div>
</div>
</div>

<script src="scripts/vendor.js"></script>

<script src="scripts/main.js"></script>
</body>
</html>
Loading

0 comments on commit 70f5c9f

Please sign in to comment.