I have prepared a code which shows a nice spinner on the page. It contains a central part with some content (in example it is just a timer). Around we have three oval shapes with different opacitiy which spins with
Google reCAPTCHA – use with PHP
As we take a look on websites, we can easily see that most of them have contact form built in. But having this contact form could switch to huge amount of spam messages sent by using that form. Fortunatelly we
Styling radio buttons with css
Today I have found an interesting code snippet with changing layout of radio buttons using only css. Snippet is available on codepen. All code and view is available on the codepen. However I put a code snippets here in case
Leverage Browser Caching – .htaccess solution
Fetching resources over the network is both slow and expensive: the download may require multiple roundtrips between the client and server, which delays processing and may block rendering of page content, and also incurs data costs for the visitor. All
AngularJS – custom currency formatting
AngularJS have a bunch of filters which allows us to format data for our needs. However we would like to have more flexibility sometimes. In one of my last projects I need to have flexible formatting for currency values. I
Multilevel numbering for ordered lists
Usually we use quite plain structure of content on the website. Sometimes we have to point out some paragraphs on the website. If the structure is not complicated we can use unordered lists ul or ordered lists ol. Let’s think
Vertical alignment of content inside div
If you have a dynamic content on your page, sometimes is the case to align this content vertically in the div container. As you know, this could be painful. However with this short CSS styling you can reach this goal
Hide element on click outside or Esc press
Today I will present short code snippet in jQuery which will can be used to hide element on website by clicking outside of it. This snippet could be used ie. to present any information in popoup which should be visible
sgCounter – jQuery plugin which supports length control in form fields
sgCounter is a tiny jQuery plugin which allows live control of your text fields in form. This plugin works with input text fields and textarea fields, which contains appropriate attributes set. It is also a visual friendly, because information about
Google fonts a polskie znaki
Stosując na stronie www czcionki z grona czcionek dostepnych w Google, można czasem spotkać się z problemem przy wyświetlaniu polskich znaków. Problem może być o tyle ciekawy, że będzie się ujawniał tylko w niektórych przeglądarkach lub tylko w niektórych systemach