Thursday, July 31, 2014

HTML5 : Responsive Image using CSS3

Responsive Image using CSS3

Responsive web design (RWD) provide an optimal viewing experience—easy reading and navigation with a minimum of resizing, panning, and scrolling—across a wide range of devices (from mobile phones to desktop computer monitors)

I was interested in creating responsive webpage image without use of Javascript,I found few interesting links and hence I am sharing it here.This page is created using the normal HTML5 and CSS3

Here JPG image is positoned relative to the screen.There are eight hotspots created on each animals.For each hotspots the dimensions are specified in <style> tag

<style>

 .hotspot {left: 7%;
       top: 11%;
       width: 20%;
       height: 26%;}

</style>

Hover/tap the hotspots over the image to show a general information of the hotspot and onclick on it will redirect to link page. In this case it will be redirected to Wikipedia webpage.

This webpage is easy to create. It supports IE7+, Firefox, Chrome, Safari, Opera, iOS and Android OS, including Touch Screen Devices

GiraffeGiraffes are the tallest land animals.There neck and feet are 6 feet long.A male giraffe can weigh as much as a pick up truck!

LionLions are the second largest big cat species in the world.The roar of a lion can be heard from 8 kilometers away.In the wild, they rest for around 20 hours a day!

CraneCranes are large, long-beaked birds.They are an omnivorous bird.They can grow to an average of 1 meter in height.They are quiet agile flyers!

ZebraZebras are members of the horse family. They have excellent hearing and eyesight and can run at speeds of up to 35 miles per hour.Zebras communicate with facial expressions and sounds.

ButterflyButterflies are insects.They sip nectar, sap, and juices from fruit.They often have brightly coloured wings with unique patterns made up of tiny scales.

HippopotamusThe name "hippopotamus" comes from Greek words meaning "water or river horse"!.Their eyes, ears, and nostrils are on top of their head. They can see, hear, and breathe while most of their body is underwater.

RoosterAn adult male chicken is called a “rooster”.They are larger, usually more brightly colored, and have larger combs on top of their heads.They scratch and claw at the ground, looking for food.

SnakeSnakes are elongate, legless, carnivorous reptiles of the suborder Serpentes that can be distinguished from legless lizards by their lack of eyelids and external ears.

Uthumalai Sri Balasubramaniar Shrine

Salem is my second home place and I am happy to be part of such a wonderful piece of land !!!

Salem is famous for wide varieties but one among them which is close to my heart is the Swamy Sri Balasubramaniar Temple at Uthumalai, Seelanaickanpatti, Salem, Tamil Nadu. It is 4 km from Salem on the Seelanaickenpatti bypass road. The temple is  built on the mountain and looks wonderful.This amazing temple might be around 1000-2000 years old.


Metaled roads from the main entrance serves to reach the temple safely either by walk or using bike,car or mini van. There are steep curves, so heavy vehicles and buses can be avoided. The roads and the temple are well maintained by the Temple Trustee. Many people enjoy their walk & offering prayers to Lord Murugan .





The environment is so calm and amazing that it exempts me from this busy polluted & populated world :)

The aerial view from the temple will just keep me spellbound !!!


If any of you planning to visit Salem then this temple is must-watch place. See you soon !!!

Chettinadu Garlic-Chilly Rasam !!

Cherishing delicious South Indian food ranging from Vegetarain  to  Non Vegetarain are awesome!!!! Nevertheless any meal is in-completed without hot and spicy Rasam. Especially during cold and rainy season, these Rasams hits the menu.

I am here to share the recipe for the easiest and healthiest Garlic-Chilly Rasam. Garlic helps in removing bacteria & toxic enzymes from our internal system.

Preparing Time : 10 min ,  Cooking Time : 15 min


We require:

Tamarind                - 1 (big lemon sized)
Turmeric                 - 1/4 tsp
Jeera                       - 2 tsp
Mustard seeds        - 1/2 tsp
Green chillies         - 2 nos
Garlic cloves          - 5 to 6
Curry leaves           - 2 tbsp
Coriander Leaves   - handful
Salt                        - for taste
Oil                          - 2 tsp


To Prepare:

  1. Grind chillies,garlic,jeera, curry leaves & coriander leaves to a  coarse mixture.
  2. Soak tamarind in 1.5 cups of water and extract the pulp. Add turmeric powder and  coarsely ground mixture to this and mix well.Set aside.
  3. In a pan, heat oil & add mustard seeds.
  4. Once the mustard seeds splutters, add tamarind mixture to the pan. Bring the mixture to boil till the raw smell of tamarind is lost.Do not over boil !!
  5. Switch off the flame once Rasam starts boiling. Garnish with coriander leaves.
  6. Drooling Garlic-Chilly Rasam is ready !!! 
  7. Serve with rice and papad . :)