Center align an absolute element using css (Vertically and Horizontally)

Just try following code –

position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 20%;
height: 20%;

Adjust width and height as needed. Super trick!


Virtual Hosts in Windows, Linux, Mac for developer

Virtual hosting is a method for hosting multiple domain names on a computer using a single IP address. One widely used application is shared web hosting. Beside this, It is very usefull to developer while developing his site locally or in dedicated server. Let’s me explain –
Continue reading

Sardarji Jokes

Sardarji jokes are a class of jokes based on stereotypes of Sikhs. Although jokes on several ethnic stereotypes are common in India, the Sardarji jokes was one of the most popular and widely circulated ethnic jokes in India. Sardarji jokes are considered as tasteless and inappropriate by many.,prtpage-1.cms

But I am a Big fan of Sardarji jokes. Here are few that i like –
Continue reading