Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

Tuesday, 25 June 2013

Animation Effect with CSS

This tutorial gives you the implementation of animation effect using CSS3.
The animation of the first image in the demo happens on mouse hover, and the second happens automatically.

                     DEMO                    Download Script

Code:

CSS code: 

@-webkit-keyframes resize {
0% {
height:220px;
width:220px;
opacity:0.7;
}
50% {
height:240px;
width:240px;
opacity:0.4;
}
}
#heart:hover {
-webkit-animation-name: resize;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: 2;
-webkit-animation-direction: alternate;
-webkit-animation-timing-function: cubic-bezier(0,0.5,0,0);
}
#heartinf {
-webkit-animation-name: resize;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-direction: alternate;
-webkit-animation-timing-function: cubic-bezier(0,0.5,0,0);
position: absolute;
left:250px;
top:80px;
width: 200px;
height:200px;
}
img{
height:200px;
width:200px;
opacity:1;
}

Html Code:

<BODY>
<H1>Working with Animation </H1>
<IMG id="heart" src="Heart.jpg" >
<IMG id="heartinf" src="Heart.jpg" >
<P style="position:absolute;left:60px;top:280px;text-align:center">Hover on this image <BR/> to animate.</P>
<P style="position:absolute;left:300px;top:280px;text-align:center">Continoustly Animating <BR/>Image </P>
</BODY>

Saturday, 13 April 2013

Are You Familiar with HTML and CSS? Reasons Why You Should be.

I have always wanted to create my own design for my blog. In my opinion, being able to work with the code of a blog is a huge advantage that many bloggers choose not to pursue. Aside form the design aspect of creating an attractive blog, being able to work with the coding will allow you to make changes and adjustments to your blog any time you want, rather than relying on a professional to do it for you, or rather than just limiting yourself to what’s available with the theme you have chosen.

Most blogs need a bit of customization from time-to-time, and for someone who has no experience with HTML or CSS this be a bit intimidating. However, if you’re working with WordPress you really only need a basic knowledge in order to make many of the customizations that you would like, and you don’t even need to know PHP in most cases (those who aren’t comfortable with PHP just need to be able to recognize it and avoid it when making changes to the HTML).

Friday, 22 March 2013

One Div: The single element HTML/CSS icon database.


Here's something that I came across when I was surfing through the Web last night. I thought it would be extremely useful for all your web projects. Its called One Div, a single element HTML/CSS database that gives you CSS, HTML codes for awesome shapes like this:  




Loading indicator





Facebook symbol

And much more. Find more here: http://one-div.com

Friday, 18 January 2013

Awesome CSS3 generators to simplify front end development

From catswhocode.com

css front end development
CSS3 introduced lots of new possibilities in the world of front end web development. This is indeed a great thing, but it can become quite hard to remember all the parameters, especially if you come from a web designer background. Here are a list of 10 awesome CSS3 code generators that will help you to save time and hassle.

Thursday, 17 January 2013

Awesome web tools to simplify front-end development

front end web tools
As a developer, I really like tools that can help me save time, or just make the whole development process easier. In this article, I have compiled my favorite web tools to simplify front-end web development.



Wednesday, 16 January 2013

Why websites should use CSS over HTML?


CSS or cascading style sheets is a type of markup language for website design and development. Better websites with accessibility, design, SEO and hosting costs are generated with CSS. Other table based designs and HTML based designs have lesser benefits. Design capability and functionality both increase with CSS. 



Friday, 21 December 2012

Simple Drop Down Menu with Jquery and CSS

This post is very basic level Jquery and CSS implementation. I want to explain how to design simple drop down menu  with CSS, HTML and Jquery. This system helps you to minimise the menus list. Just take a quick look at this post very few lines of code, use it and enrich your web projects.