Tuesday, May 12, 2020

Create Responsive image table using just CSS!

CSS classesIn this post I'm going to explain to you how you can create a beautiful image collection in a tabular form with the help of CSS. But only tabular form of images sounds a little bit boring.  So we will also make the images rotate and change opacity when we hover mouse over them. We will use the <div>s to make it work. You will actually feel how easy it is to make a very creative image table.

Let's see how our basic structure looks:


<!DOCTYPE html>
<html>
<head>
<style>

/* CSS */
</style>
</head>
<body> 

<!--Contents-->
</body>
</html>


Now let's style everything: 

First of all we will style our <div>. We will define height, width, display, transition and background for the <div>. We have to keep one thing in mind that we the placing our image in the div, so the image size should be equal to div size because if it is not so, then the rotatory motion may look as revolutionary motion. 
  

<style>
div
{
margin-right: 10px; /* As our images will go from left to right*/
display: inline-block;
width:150px;
height:113px;
background:transparent;
transition:width 2s, height 2s, transform 2s;
-webkit-transition:width 2s, height 2s, -webkit-transform 2s; /* Safari */



Now we are going to style the <div>'s on-hover effect. Here we have to keep in mind that <div> is an empty division of the body, so it can not change opacity (since its transparent). We have to make is rotate. Place the following code below the earlier codes in the <style> section.

div:hover
{
transform:rotate(360deg);
-webkit-transform:rotate(360deg); /* Safari */
}


Now final styling. We are going to style our image and set on-hover effect. As we have earlier set the rotation effect to the div, so now we have to only set the opacity to the image.

img
{
opacity:0.7;
filter:alpha(opacity=40); /* For IE8 and earlier */
}
img:hover
{
opacity:1.0;
filter:alpha(opacity=100); /* For IE8 and earlier */
}

Make sure you put these all codes inside the <style>--</style> and put <style>--</style> in <head>--</head>. Okay, let's move on.


Time to put the images inside the <div>s. 

We will do it in the following way:  

<div>
<img src="URL" alt="Alternate Text">
</div>


Make sure to put the <div>s inside the <body>--</body>.

Result Time! 

Before hovering, the images will have 70% opacity and after hovering, the images will have 100% opacity and will rotate. I've used the align="center" for the body tag to make everything center aligned and put <br> after first three <div>s then after two <div>s then after the last <div> to give it an upside down pyramid shape. 
Before Mouse Hovering

After Mouse Hovering





Thursday, January 16, 2014

Feed your mind with Feedly.

As being humans, it is our natural behavior to be curios to know everything we see and also that we don't. Like me, you may be also looking through the web everyday to get updates on things you care about. But sometimes we feel like we are missing something, but we can't figure it out. So, I come up with a smart solution. Feedly! It put everything you like in front of you. You will get updates from the sites you like, from the topics of your interest and also its a great way of passing time, reading news and watching latest videos.


This app has been custom tailored for 4 inch smartphones, 7 inch Tablets and 10 inch Tablets.
Feedly Screenshot


Feedly delivers everything you enjoy reading-watching at one place making it easier for you to stay updated! Its a great way to follow your favorite blogs, news sites, YouTube shows, Podcast, tumblr blogs, magazines, eBay listings, recipes, comics, flick photos and more. One of its plus point is that, its really fast! Another advantage is that, you can instantly share those contents on Facebook, Twitter and Google+.  

How to get it 

First of all download the app from your app store or go to its site and Sign up if you are using computer. 

How to use it 

Open the app and then Log in. Click/Tap on +Add Contents and choose a category and then select the site, you can also type the URL of your favorite site or you can search by topic. Click/Tap the follow button. Give it a title and then add it to any collection.

From then you will begin to receive updates from those site.
 

Available For: Web browsers, iOS (iPhone, iPad), Android devices.

Site: Feedly.com
 



Friday, January 3, 2014

Learn CANVAS Element in HTML5.

The CANVAS Element in HTML5 is a great solution for graphical representation. We're just going to learn how to use the CANVAS Element in HTML5. The CANVAS Element is incomplete without the JavaScript. Let's understand it with an example. Think of a page of your drawing book, we're going to draw some shapes on it. So here the page is the CANVAS and the drawing you make is the JavaScript (just example). So if the size of your shapes will be greater than the page, what will happen? The portion of the drawing that is outside the page's edges will not be visible. Same is true for the CANVAS. If the size of the shapes is greater than the size of the canvas then the portion of the shapes that are outside the canvas will not be visible.

OK now it lets see where to put the codes.
<!DOCTYPE html> 
<html>
<head>
<title>CANVAS</title>
</head>
<body>
<canvas width="500" height="500" id="addskills"/></canvas>
<script>
var canvas= document.getElementById("addskills");
var rit= canvas.getContext("2d");
</script>
</body>
</html>

Here in the <body> we put the JavaScript. First of all, we declared  the variable for the canvas and a method (getElementByID) to select our canvas. Then we declared the second variable (rit) and used the getContext method to select the Context. Then we closed the script and then placed the canvas inside the body.

Now all we have to do is to move ahead and draw something.

Let’s draw a rectangle. To do so we have to first begin the path, then set the color and then declare the height and width.

See the example.
<!DOCTYPE html>
<html>
<head>
<title>CANVAS</title>
</head>
<body>
<p>
<font size="20" color=”skyblue” face=”century gothic”> Your rectangle!</font>
</p>
<p>
<canvas width="500" height="500" id="addskills"/></canvas>
<script>
var canvas= document.getElementById("addskills");
var rit= canvas.getContext("2d");
rit.beginPath();
rit.fillStyle = "lightblue";
rit.fillRect(0, 0, 500, 500); // x axis, y axis, width, height
</script>
</p>
</body>
</html>



Output



 



















OK now let’s move one step ahead. Let’s draw a Circle.
To draw a circle we have to declare the x and y axis, radius, start angle and stop angle.

It looks like this:  arc(100, 60, 30, 0, 360, true);

So let’s start coding.
<!DOCTYPE html>
<html>
<head>
<title>CANVAS</title>
</head>
<body>
<p>
<font size="20" color=”skyblue” face=”century gothic”> Your Circle!</font>
</p>
<p>
<canvas width="300" height="300" id="addskills"/></canvas>
<script>
var canvas= document.getElementById("addskills");
var rit= canvas.getContext("2d");
rit.beginPath();
rit.arc(100, 60, 50, 25, 360,true);
rit.fillStyle = "lightgreen";
rit.fill();



rit.beginPath();
rit.arc(100, 60, 30, 0, 360,true);
rit.fillStyle = "yellow";
rit.fill();
</script>
</p>
</body>
</html>

Output:





Sunday, May 19, 2013

Activate the New Facebook Look

      Activate the New Facebook Look.



Facebook, just after changing its look and format, has once again made a big change with its look. The new look is very impressive and makes you feel very fresh and has made it even easier to use it! 
The new Facebook look! Isn't it Awesome! 


Follow the steps below to get the new look for you profile:

1) First of all, log into your Facebook account. 

https://www.facebook.com/about/newsfeed

Source : http://www.epiblog.in/2013/03/activate-new-facebook-look.html
Content Copyrighted to Epiblog.in
2) Go to http://www.facebook.com/about/newsfeed

3) Now go to the bottom of the page and click the "Try the New Look" button.

4) This will add you to the Waiting List for the New Look.

 Facebook will notify you, as soon as they have created the new look for you. Just wait for a few days!

              Hope, I helped you!
https://www.facebook.com/about/newsfeed

Source : http://www.epiblog.in/2013/03/activate-new-facebook-look.html
Content Copyrighted to Epiblog.in
https://www.facebook.com/about/newsfeed

Source : http://www.epiblog.in/2013/03/activate-new-facebook-look.html
Content Copyrighted to Epiblog.in
https://www.facebook.com/about/newsfeed

Source : http://www.epiblog.in/2013/03/activate-new-facebook-look.html
Content Copyrighted to Epiblog.in
https://www.facebook.com/about/newsfeed

Source : http://www.epiblog.in/2013/03/activate-new-facebook-look.html
Content Copyrighted to Epiblog.in
https://www.facebook.com/about/newsfeed

Source : http://www.epiblog.in/2013/03/activate-new-facebook-look.html
Content Copyrighted to Epiblog.in
https://www.facebook.com/about/newsfeed

Source : http://www.epiblog.in/2013/03/activate-new-facebook-look.html
Content Copyrighted to Epiblog.in
https://www.facebook.com/about/newsfeed

Source : http://www.epiblog.in/2013/03/activate-new-facebook-look.html
Content Copyrighted to Epiblog.in
https://www.facebook.com/about/newsfeed

Source : http://www.epiblog.in/2013/03/activate-new-facebook-look.html
Content Copyrighted to Epiblog.in



Saturday, April 27, 2013

Create a Folder without any name.

We all create many folders for various purpose in our day to day life. In some folders we keep our favorite songs and in some photos. But have you ever imagined to create a folder without any name? You might have tried that by deleting its name? But the result that you would have got, is a name 'New Folder' appearing automatically. So what you can do to create a folder without any name? Just follow the simple steps mentioned below and you will have a folder created without any name!



The Steps are as follows:

  1. Create a New Folder by right clicking and choosing the New option and then clicking Folder option or by pressing Ctrl+Shift+N.
  2. Now hold down the Alt key and go to the numeric key pad and type 255.
  3. Now press Enter key! 
You're done. You will see a folder without any name on the screen! (the trick may not work in XP)



Saturday, April 6, 2013

10 ways to have a 'Great' Facebook Profile.

10 ways to have a 'Great' Facebook Profile.

Many of us want to have a Great Facebook profile on which everyone likes to post things and you get many likes from friends and appear to be very popular! But its easy, really, to be popular or well known on Facebook, you don't have to be any Celebrity, just follow these steps and feel the difference. The ten steps below aren't anything Extraordinary but simple things to make you profile Likable.





1) Profile Picture: Your profile picture is the first thing that anyone see on your profile, so choose it right. Upload your best photo to use as profile picture. It should not burled or of very low resolution. taking your photograph in natural light with the cloths on your body that fits you would be a better option!

Tips:
1) Always use your own photo as your profile cover, not of any celebrity.
2) Have a fresh look while taking the photograph. Use any face-wash and comb your hair properly or the way you like styling it.
3) Be sure no one else is in the photograph.
4) Have a nice smile on your face, no one like an angry face!
5) Remember good memories while taking the photo to have a positive impression on your face.


2) Profile Cover: Studies says that people are attracted and influenced more to images than words. Your profile cover covers a good amount  of space that your can use to impress others and show your personality. Once again, use your own photo, photo collage or your any photo with some stylish look as your profile cover rather that those copied from any websites related to quotation or of any celebrity, cars, etc.

Tips:
1) You can use Adobe Photoshop to create your own great facebook profile cover.
2) If you can't make it yourself, you can send me your photo(s) and I'll create it for you for free!
3) Try adding some text on it, but not too much.


3) Fill your About section correctly: Fill it in a way so that anyone can easily understand you or may be recognize you. Don't leave any section unfilled. Specify you Job, add your High School and  also add the names of classmates as much as possible, because it makes them find you easily! Be sure you have filled your About You section nicely and by remaining yourself. Never lie, specify your correct Hometown and current city. Fill your Basic Info in the same way. Now it comes to Contact Info, provide each and every detail on your contact Info if you are feeling comfortable with that. The Favorite Quotations section provides you an opportunity to show your personality and attitude. Write the quotations that shows your attitude and those you really like as they are connected to your behavior and attitude.


4) Have a regular Update of your profile: Whenever you go anywhere, update your location with your close friends and family (only). Never do it publicly as it may harm you. Hmm, you went to a new Restaurant and liked it, find it on Facebook and like their page and tell your friends that you liked it! you listened a new Band's Song and liked it, do the same! It will make people take you as a source of new information so they will always try


5) Like others posts: Like your friends post but click the Like button even if you don't like the post to make them feel that they are important in your views and you take them seriously. As a result you will start getting more and more likes from them on your every post.
 But be sure not to over like posts. Do it for only some posts about 70% post not 100%.


6) Status Update: Low frequency, High quality! Updating your status too much will make people ignore you. It would be better if you post less, (but not too less) but use high quality post. while posting, be yourself and be confident. Post images at least one per day and tag some of your friends, and write a good description for it, not too long, write good!


7) Don't be 'shy':Post on others wall, Poke friends (but in a limit), chat with them frequently. If someone is online, have a chat with him/her. Don't think what will they think, or Oh I don't know them properly, or what will he/she think? Come on they are not going to think any thing! This is a Social Networks, thats why they are here! Chat confidently and do not lie on chat as it may decrease your self confidence level during the chat. Send messages to friends (but not too much, never use 'Good Morning' messages as they can make people ignore you)


8)Wish Happy Birthday: Wish Happy Birthday to friends. Try writing the message or the wall post yourself rather than coping quotes from any website. It will increase the value of your post on their wall because others will write like 'Wish you happy birthday, May you live long!' and something like songs,


9)Know the power of Sharing:Anything you enjoyed on the internet, just share it on your profile with your friends. It can impress others and they my always try to get in touch with you for more new things. But don't share stupid things like those posts that says' Share it, if you love your mother' or ' 1 share=100 wishes'. You know better that wishing and prayers are done in mind not by sharing those stupid posts!


10)You're Done!: Try to maintain your profile and be happy with it, never think that his or her profile is better and he/she is appearing to be a little bit more popular than me. You just try, how will it happen if you don't try? Have a look on some great people's profile and try the things that they have used UP!



Saturday, March 30, 2013

How to add Facebook Like Box to your Blog.

How to add Facebook Like Box to your Blog.

 A blog can get a lot of visitors through Facebook. Facebook is a great way to keep your visitors stay connected to your Blog. But for this they have to like your page on facebook. They might not want
to search so much for your page. So, what you have to do is to provide the like box on your site so that they can  easily like your page as soon as they visit your Blog. Following are the steps to add a Facebook Like Box to your Blog.
1) Open your Facebook page and copy its full URL. 

2) Go to Like Box Configuration  page and paste your page's URL in the box where you have to give your page's URL. 

3) Now set your Like box's Width, height and stream and then click on Get the Codes.
(Before Clicking Get the codes, see the preview to get satisfied.

4) Choose the iframe option and then copy the full code. 

5) Open your blog and choose Edit in HTML option in the Template Menu and place the code wherever you want. (It would be better if you place the code in the sidebar.) 

6) Click on Save.