CSS3 Animations: Getting started

Posted on Sat 21 December 2013 in CSS • Tagged with CSS

CSS animations is a great tool design website in very cool fashion without any gif images and reduced page size.
~(Keep\ in\ mind\ IE8\ and\ IE9\ are\ stone\ age\ browsers\ and\ CSS3\ animation\ won't\ work\ with\ it).~
There are two basic keyword used to generate animations using

animation

and

\@keyframes …


Continue reading

Raspberry Pi - How to install and first boot

Posted on Wed 18 December 2013 in How To DIY, Linux • Tagged with Linux, Raspberry Pi

Installing and setting up Raspberry Pi is fairly easy in following steps


Continue reading

Java 7 : Try-with-resources - Close resources automatically with AutoCloseable interface

Posted on Sun 15 December 2013 in Java • Tagged with Java

Every time we write code with FileInputStream,

BufferReader

  etc. we need to close those resource explicitly in finally block.

Now from Java 7, there are two interfaces included

Closeable

and

AutoCloseable

with single abstract method

close(),

  which enables implementing class to close resources aromatically after try block.

Lets see how …


Continue reading

Java 7: Binary literal type

Posted on Sun 15 December 2013 in Java • Tagged with Java

From Java 7 Binary type also joins the category of literal with *

byte, short, int and long

. Which means a binary value can be assigned  by using 0b or 0B  *prefix to a  primitive type.

What is a Literal :  A literal is source code representation of source code. Which can …


Continue reading

How to add custom CSS in HTML

Posted on Thu 12 December 2013 in CSS • Tagged with CSS, HTML

I have already given the introduction to CSS and advantages.Now, there are few ways to use your custom CSS in your site/blog/wordpress.

  • Using style tag with HTML elements.
  • Using Style element inside HTML page
  • Linking external CSS file in your pages
  • Importing CSS file inside another CSS …

Continue reading

CSS - Introduction and How it works

Posted on Wed 11 December 2013 in CSS • Tagged with CSS, HTML

CSS stands for Cascading Style Sheet which is used to style HTML elements.
While loading any webpage browser simply create DOM of requested web page and renders the HTML. CSS is basically a better way of managing HTML attributes

style

of any element.

To add style we simply use

Style …


Continue reading