This file contains hidden or 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
/* XL Device :1200px. */ | |
@media (min-width: 1200px) and (max-width: 1500px) { | |
} | |
/* LG Device :992px. */ | |
@media (min-width: 992px) and (max-width: 1200px) { | |
This file contains hidden or 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
CSS code: | |
.iframe-container{ | |
position: relative; | |
width: 100%; | |
padding-bottom: 56.25%; | |
height: 0; | |
} | |
.iframe-container iframe{ | |
position: absolute; |
This file contains hidden or 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
.custom-accordian .btn{ | |
position: relative; | |
width: 100%; | |
text-align: left; | |
text-decoration: none; | |
color: #555; | |
} | |
.custom-accordian .btn.btn-link:before{ |
This file contains hidden or 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 Code: | |
-------------- | |
<?php | |
// Only process POST reqeusts. | |
if ($_SERVER["REQUEST_METHOD"] == "POST") { | |
// Get the form fields and remove whitespace. | |
$name = strip_tags(trim($_POST["name"])); | |
$name = str_replace(array("\r","\n"),array(" "," "),$name); | |
$email = filter_var(trim($_POST["email"]), FILTER_SANITIZE_EMAIL); |
This file contains hidden or 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
Filtering | |
-------------------- | |
<div class="row"> | |
<div class="button-group filter-button-group"> | |
<button class="active" data-filter="*">All</button> | |
<button data-filter=".web">Web</button> | |
<button data-filter=".apps">Apps</button> | |
<button data-filter=".icons">Icons</button> | |
</div> | |
</div> |
This file contains hidden or 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
Owl dots in center | |
---------------------- | |
.owl-dots{ | |
margin: 0 auto; | |
display: block; | |
text-align: center; | |
} | |
Problem: owl nav is set to nav:true but nav icons is not showing. |
This file contains hidden or 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
<div class="row centered" > | |
<div class="col-xs-12 col-sm-4 col-md-2" style=""> | |
<a href="http://example.com/" target="_blank"><img src="cover.png"></a> | |
</div> | |
<div class="col-xs-12 col-sm-4 col-md-2" style=""> | |
<a href="http://example.com" target="_blank"><img src=""></a> | |
</div> | |
</div> | |
........... |
This file contains hidden or 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
-webkit-animation: minus 0.5s; // Add this to a icon or element or div | |
@keyframes minus { | |
from { | |
transform:rotate(0deg); | |
} | |
to { | |
transform:rotate(360deg); | |
} | |
} |
This file contains hidden or 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
.rounded-corners-gradient-borders { | |
width: 300px; | |
height: 80px; | |
border: double 4px transparent; | |
border-radius: 80px; | |
background-image: linear-gradient(white, white), radial-gradient(circle at top left, #f00,#3020ff); | |
background-origin: border-box; | |
background-clip: content-box, border-box; | |
} |