Monday, July 18, 2011

CSS Resources

W3Schools offers a comprehensive CSS3 reference:
http://w3schools.com/css3/default.asp



CSS3.Info contains tons of great articles on the newest CSS3 stuff:
http://www.css3.info/



Pixel2Life offers a ton of tutorials:
http://www.pixel2life.com/tutorials/css_stylesheets/



Check out Good-Tutorials for more CSS tutorials:
http://www.good-tutorials.com/tutorials/css



NetTuts+ has a lot of great articles and tutorials on CSS3:
http://net.tutsplus.com/?s=css3

Friday, July 8, 2011

Change Text Selection highlight Color in Css3

::selection {
        background: #ffb7b7; /* Safari */
        }
::-moz-selection {
        background: #ffb7b7; /* Firefox */
}

Rounded Corners in CSS3

Supporting Browsers: Apple Safari 3, Firefox 1, Google Chrome 1

CSS3
Mozilla
WebKit
border-top-right-radius
-moz-border-radius-topright
-webkit-border-top-right-radius
border-bottom-right-radius
-moz-border-radius-bottomright
-webkit-border-bottom-right-radius
border-bottom-left-radius
-moz-border-radius-bottomleft
-webkit-border-bottom-left-radius
border-top-left-radius
-moz-border-radius-topleft
-webkit-border-top-left-radius
border-radius
-moz-border-radius
-webkit-border-radius

Here is example for Rounded Corner in CSS3

<div class="content-box">
  <h2>Four Corners</h2>
  <p>This box has all corners rounded.</p>
</div>

<style type="text/css">
.content-box {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #AFAFAF;
    border-radius: 5px 5px 5px 5px;
    height: 200px;
    margin: 10px auto 0;
    width: 600px;
}
</style>

Multiple Backgrounds with CSS3

CSS3 allows web designers to specify multiple background images for box elements, using nothing more than a simple comma-separated list.

Browser support for multiple backgrounds is relatively widespread with Mozilla Firefox (3.6+), Safari/Chrome (1.0/1.3+), Opera (10.5+) and even Internet Explorer (9.0+) all implementing the feature.

Here’s a basic example:

This box has two background images, the first a balloon (aligned to the top and center) and the second a grass and sky background
(aligned to the top-left corner).


<div class="examplemultiplebackgrounds">
<p>This box has two background images, the first a balloon 
(aligned to the top and center) and the second a grass and sky background 
(aligned to the top-left corner).</p>
  </div>

<style type="text/css">  
div.examplemultiplebackgrounds
{   
 width: 446px;
 height: 395px;
 background-image: url(images/balloon-orange.png), url(images/landscape.jpg);
 background-position: center 50px, left top;
 background-repeat: no-repeat;

}
div.examplemultiplebackgrounds p
{
 font-size: 14px;
 color: #ffffff; 
 padding: 5px;
}
</style>

Thursday, July 7, 2011

Google Apps supports the following browsers

Beginning August 1, 2011, we’ll support the current and previous major releases of Chrome, Firefox, Internet Explorer and Safari on a rolling basis. Each time a new version is released, we’ll begin supporting that version and stop supporting the third-oldest version. Learn more about supported browsers for Google Apps in the Google blog post.
 

How To Add Animated Favicon In Blogger?

Favicon is actually the icon that appears next to your Website URL in the browser address bar. A favicon is usually your blog logo. There are many free services that help to create favicons for you but most of these services use still images. I have used an animated favicon for my blog as you can see in your address bar. It actually consists of a logo and then my blog title as text. The image and text together makes a more beautiful combination. So lets jump at the tutorial and create an attractive cute favicon for your blog,
  1. Go To favicongenerator
  2. And just at the bottom of the page upload your blog logo or any icon you wish to make as your favicon and also add your blog title as the scrolling text. You will find all the help at favicongenerator


    3.  Hit the Generate Favicon Button and you will be taken to this page,


Here you will see many images just right click the animated one and save it to your computer.

     4. Now upload the image to your Picasa album by reading this post –> Store Animated Images in Blogger and Learn how to get Image URLs

How To Add Your Favicon To Blogger Now?

  1. Go To Blogger > Design > Edit HTML
  2. And Search For <b:skin> and just above it paste the code below,

<link href='ADD YOUR FAVICON LINK HERE' rel='icon' type='image/gif'/>

Move text when mouse over in Css3

Move text when mouse over



<style type="text/css">  
  .mbt-nudge
  {
   -moz-transition: all 0.4s ease-out 0s;
   -webkit-transition: all 0.4s ease-out 0s;
  }
  .mbt-nudge:hover
  {
   margin-left: 55px;
   padding-left: 5px;
  }
  </style>

Opacity effect With Image Rotation


<style type="text/css">  
  img.opacity
  {
   -moz-transform: rotate(5deg);
   -moz-transition: all 0.5s ease-out 0s;
   -webkit-transform: rotate(5deg);
   -webkit-transition: all 0.5s ease-out 0s;
   margin-left: 50px;
   opacity: 0.5;
  }
  img.opacity:hover
  {
 
   opacity: 1;
   margin-left: 0px;
   -moz-transform: rotate(0deg);
   -webkit-transform: rotate(0deg);
   -moz-box-shadow: 1px 1px 4px #000;
   -webkit-box-shadow: 1px 1px 4px #000;
   box-shadow: 1px 1px 4px #000;
 
  }
  </style>

Rotate css3

Cascading Style Sheets (CSS) is the language of Web design, and the next generation of CSS design properties are just chomping at the bit to be released.

Today i show you how to rotate text in Css3




<div class="current-date">
<span class="day">31</span> 
  <span class="month">July</span> 
  <span class="year">2009</span>
</div>
<style type="text/css">
  .cureent-date
   {
    background-color: red;
    float: right;
    margin-left: 10px;
    padding: 45px 5px 0;
    position: relative;
   }
   .current-date .day
   {
    font-size: 45px;
    left: 5px;
    line-height: 45px;
    position: absolute;
    top: 0;
   }
   .current-date .month
   {
    font-size: 25px;
    text-transform: uppercase;
   }
   .current-date .year
   {
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    display: block;
    position: absolute;
    right: -5px;
    top: 15px;
   }  
   
  </style>

Wednesday, July 6, 2011

Designing with html5 css3

HTML5 is the next major version of HTML. HTML5 provides some great new features for web designers who love to create readable code and semantically-meaningful layouts. HTML 5 introduces and enhances a wide range of features including: form controls, APIs, dragging and dropping, multimedia, drawing graphics on screen and a lot more.

- SlimKiwi


- Antilight


- EnergyCell


- Giovannitufo

NimbleKit

NimbleKit is the fastest way to create applications for iOS. You don’t need to know Objective-C or the iOS SDK. All you need is to know how to write an HTML page with Javascript code.

Without any complicated configuration, NimbleKit easily installs in Xcode and provides you with a new “NimbleKit Project Template”. Choose this template, select whether you want to build for iPhone/iPod, iPad or a universal app, then add your Html, Javascript & Images to your project. Click “Build and Run”, and your application instantly launches in the iPhone/iPad simulator.

jQuery Mobile

jQuery Mobile is Touch-Optimized Web Framework for Smartphones & Tablets. It is a unified user interface system across all popular mobile device platforms, built on the rock-solid jQuery and jQuery UI foundation. Its lightweight code is built with progressive enhancement, and has a flexible, easily themeable design.

jQuery mobile framework takes the “write less, do more” mantra to the next level: Instead of writing unique apps for each mobile device or OS, the jQuery mobile framework will allow you to design a single highly branded and customized web application that will work on all popular smartphone and tablet platforms.


Free High Quality Mobile Icons in PNG format

You can use these icons on your mobile applications or mobiles. Mobile Icon Set includes Phone Call, Photos, Messages, Calculator, Wireless, Calendar, Settings, Contacts, Notes, Map.

Usage: Free for Personal and Commercial Projects (Size: 128, 64, 48, 32px)