A contact form built with Bootstrap 3. Field validation with Bootstrap Validator.
A Pen by Teja Babu S on CodePen.
A contact form built with Bootstrap 3. Field validation with Bootstrap Validator.
A Pen by Teja Babu S on CodePen.
# | |
# Sources: | |
# http://stackoverflow.com/questions/7704624/how-can-i-use-gzip-compression-for-css-and-js-files-on-my-websites | |
# http://codex.wordpress.org/Output_Compression | |
# http://www.perun.net/2009/06/06/wordpress-websites-beschleuinigen-4-ein-zwischenergebnis/#comment-61086 | |
# http://www.smashingmagazine.com/smashing-book-1/performance-optimization-for-websites-part-2-of-2/ | |
# http://gtmetrix.com/configure-entity-tags-etags.html | |
# http://de.slideshare.net/walterebert/die-htaccessrichtignutzenwchh2014 | |
# http://de.slideshare.net/walterebert/mehr-performance-fr-wordpress | |
# |
###################################################################### | |
## Word to the wise ## | |
## It is best to keep your htaccess files as clean as possible ## | |
## and set as many specs in your Apache config as you can. ## | |
## Htaccess slows down Apache. ## | |
## Review the entire file before use, especially the TODO sections. ## | |
###################################################################### | |
Options -MultiViews | |
Options +FollowSymLinks |
<?php
if(isset($_POST['submit'])){
$name = htmlspecialchars(stripslashes(trim($_POST['name'])));
$subject = htmlspecialchars(stripslashes(trim($_POST['subject'])));
$email = htmlspecialchars(stripslashes(trim($_POST['email'])));
$message = htmlspecialchars(stripslashes(trim($_POST['message'])));
if(!preg_match("/^[A-Za-z .'-]+$/", $name)){
<section> | |
<div class="customer-feedback"> | |
<div class="container text-center"> | |
<div class="row"> | |
<div class="col-sm-offset-2 col-sm-8"> | |
<div> | |
<h2 class="section-title">What Clients Say</h2> | |
</div> | |
</div><!-- /End col --> | |
</div><!-- /End row --> |
Just playing around with animations for ecommerce add to cart, cart update and so on.
A Pen by Rune Sejer Hoffmann on CodePen.
Imagens by Unsplash
A Pen by Pedro de Sá on CodePen.
<div id="all"> | |
<div id="allcontent"> | |
<div id="maincontent"> | |
<div class="portfolio"> | |
<img src="http://www.claudiogomboli.com/lab/gallery/imgs/ecomm.jpg" alt="Portfolio img"><br> | |
<span class="txt">eCommerce . iOS Icon.</span> | |
<div class="ombra"></div> | |
</div> | |
<div class="portfolio"> | |
<img src="http://www.claudiogomboli.com/lab/gallery/imgs/speaker.jpg" alt="Portfolio img"><br> |
A Pen by Filip Danisko on CodePen.
Based on this dribbble shot: http://drbl.in/nRRK by Peter Main https://dribbble.com/PeterMain