This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* IMPORTANT: YOU MUST DOWNLOAD THE ParsePlatform PHP SDK IN ORDER FOR THIS TO WORK: | |
* https://github.com/ParsePlatform/parse-php-sdk | |
*/ | |
require('parse-php-sdk-master/autoload.php'); | |
use Parse\ParseObject; | |
use Parse\ParseQuery; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Vertically and horizontally center relative positioned elements */ | |
@mixin vertical-align | |
{ | |
position: relative; | |
top: 50%; | |
-webkit-transform: translateY(-50%); | |
-moz-transform: translateY(-50%); | |
-ms-transform: translateY(-50%); | |
-o-transform: translateY(-50%); | |
transform: translateY(-50%); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Instead of fixing the top-bar only, let's fix the entire offcanvas into position and make the main-section class scrollable */ | |
/* Add the "fixed" class to the "off-canvas-wrap" like so: */ | |
<div class="off-canvas-wrap fixed" data-offcanvas> | |
/* ...and add the following to your Style Sheet: */ | |
body,html{ | |
height:100%; |