Sass on Linux Mint

You've heard about Sass for quite awhile and finally after seeing all the cool features it has, you've made your mind to try it. Great decision! Here I'll show you how to quickly set it up, on your Mint Linux install through Compass. (more…)

Install LAMP on Linux Mint

LAMP stands for Linux, Apache, mySQL and PHP (in some instances Python).┬áHaving LAMP helps you work with PHP based projects with great ease, as you have a local hosting to do all the stuff that otherwise would be done on a live environment. You can install WordPress, Drupal, Joomla or any other PHP based CMS;…

Center a fixed position element

Set left to 50% and add negative margin-left of half the width of the element. This is how you center a fixed position element. Possible scenarious where you might need it is videos, or any other elements in overlays, light/white-boxes.

CSS box-reflect

Sometime ago we used to add gif images on web site to make them look cool. Now, we can use trickery as box-reflect. It's one of the "new" css properties out there, that is not yet that widely supported. Currently only webkit browsers support it (Chrome and Safari), but there is a nasty trick to…

Form placeholders across browsers

HTML's placeholder attribute is a nice think to use, but still many clients ask for IE 9 and even 8 support. That's annoying from one side, but from another, you have a reason to charge a bit extra. However, let's see how we can solve┬áthose 8 and 9 disabilities. Of course you would need jQuery…

Universally unique identifier

Sometimes when you submit data through a form, you might need to have an unique identifier. Incrementing a value each time you submit the form might not be a choice if your communication with the database is only one way - POST. We would have to create an universal unique identifier - a string that…