Free Advertising by FreeAdvertisingNetwork.org
Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

6 Apr 2013

20 Useful CSS Tips For Beginners

Leave a Comment
20 Useful CSS Tips For Beginners by Blogging Section
In the old days, we depend a lot of on developers and programmers to help update the website, even when it’s just a minor one. Thanks to the CSS and it’s flexibility, styles can be extract independently away from the codes. Now, with some basic understanding of CSS, even a novice can easily change the style of a website.
Whether you are interested in picking up CSS to create your own website, or merely to tweak your blog’s look and feel a little – it’s always good to start with the fundamentals to gain a stronger foundation. Let’s take a look at some CSS Tips we thought might be useful for beginners. Full list after jump.

Use Reset.Css

When it comes to rendering CSS styles, browsers like Firefox and Internet Explorer have different ways of handling them. reset.css resets all fundamental styles, so you starts with a real blank new stylesheets.
Here are few commonly used reset.css frameworks – Yahoo Reset CSSEric Meyer’s CSS ResetTripoli
  1. Use Shorthand CSS

    Shorthand CSS gives you a shorter way of writing your CSS codes, and most important of all – it makes the code clearner and easier to understand.
    Instead of creating CSS like this
    1. .header {<br>  
    2.       background-color#fff;<br>  
    3.       background-imageurl(image.gif);<br>  
    4.       background-repeatno-repeat;<br>  
    5.       background-positiontop left; <br>  
    6.     }  
    It can be short-handed into the following:
    1. .header {<br>  
    2.       background#fff url(image.gif) no-repeat top left<br>  
    3.     }  

 More – Introduction to CSS ShorthandUseful CSS shorthand properties

Understanding Class And ID

These two selectors often confuse beginners. In CSS, class is represented by a dot "." whileid is a hash ‘#". In a nutshell id is used on style that is unique and don’t repeat itself, classon the other side, can be re-use.

Power Of <Li>

<li> a.k.a link list, is very useful when they are use correctly with <ol> or <ul>, particulary to style a navigation menu.
More – Taming ListsAmazing LI

Forget <Table>, Try <Div>

One of the greatest advantage of CSS is the use of <div> to achieve total flexibility in terms of styling. <div> are unlike <table>, where contents are ‘locked’ within a <td>‘s cell. It’s safe to say most <table> layouts are achievable with the use of <div> and proper styling, well maybe except massive tabular contents.

CSS Debugging Tools

It’s always good to get instant preview of the layout while tweaking the CSS, it helps understanding and debugging CSS styles better. Here are some free CSS debugging tools you can install on your browser: FireFox Web DeveloperDOM InspectorInternet Explorer Developer Toolbar, and Firebug.
CSS Debugging Tools by Blogging Section
  1. Avoid Superfluous Selectors

    Sometimes your CSS declaration can be simpler, meaning if you find yourself coding the following:
      1. ul li { ... }  
      1. ol li { ... }  
      1. table tr td { ... }  
    They can be shorten down to just
      1. li { ... }  
      1. td { ... }  
    Explanation: <li> will only exist within <ul> or <ol> and <td> will only be inside <tr> and<table> so there’s really not necessary to re-insert them.

Knowing !Important

Any style marked with !important will be taken into use regardlessly if there’s a overwriting rule below it.
  1. .page {<br> background-color:blue !important;<br>   background-color:red;<br>}  
In the example above, background-color:blue will be adapted because it’s marked with!important, even when there’s a background-color:red; below it. !important is used in situation where you want to force a style without something overwriting it, however it may not work in Internet Explorer.

Replace Text With Image

This is commonly practice to replace <h1>title</h1> from a text based title to an image. Here’s how you do it.
  1. h1 {<br>  
  2. text-indent:-9999px;<br>  
  3. background:url("title.jpg"no-repeat;<br>  
  4. width:100px;<br>  
  5. height:50px;<br>  
  6. }  
Explanation: text-indent:-9999px; throws your text title off screen, replaced by an image declared by background: {...} with a fixed width and height.

Understand CSS Positioning

The following article gives you a clear understanding in using CSS positioning – position: {...}

CSS @Import Vs <Link>

There are 2 ways to call an external CSS file – respectively using @import and <link>. If you are uncertain which method to use, here’s few articles to help you decide.
  1. Designing Forms In CSS

    Web forms can be easily design and customize with CSS. These following articles show you how:
    Designing Forms In CSS By Blogging Section

    Get Inspired

    If you are looking around for nicely designed CSS-based website for inspiration, or just simply browsing to find some good UI, here are some CSS showcase site we recommend:

    Get Inspired By Blogging Section

    Rounded Corners In CSS

    This following article gives you an idea how to create cross-browser compatible rounded borders with CSS.
    Rounded Corners In CSS By Blogging Section

Keep CSS Codes Clean

If your CSS codes are messy, you are going to end up coding in confusion and having a hard time refereing the previous code. For starters, you can create proper indentation, comment them properly.

Typography Measurement: Px Vs Em

Having problem choosing when to use measurement unit px or em? These following articles might give you a better understanding on the typography units.

CSS Browsers Compatibility Table

We all know each browser has different ways of rendering CSS styles. It’s good to have a reference, a chart or a list that shows the entire CSS compatibility for each browser.
CSS support table: #1#2#3#4.
  1. CSS Browsers Compatibility Table By Blogging Section

    Design Multicolumns In CSS

    Having problem getting the left, middle and right column to align properly? Here are some articles that might help:

    Design Multicolumns In CSS By Blogging Section

    Get A Free CSS Editors

    Dedicated editors are always better than a notepad. Here are some we recommend:
    Get A Free CSS Editors By Blogging Section

    Understanding Media Types

    There are few media types when you declare CSS with <link>. print, projection and screen are few of the commonly used types. Understanding and using them in proper ways allow better user accessibility. The following article explains how to deal with CSS Media types.





Read More...

22 Mar 2013

CSS3 Hover Animation Effect for Your Blog Post Title

Leave a Comment
CSS3 Hover Animation Effect for Your Blog Post Title

Yes, Today Your Blog is Going to Look More Digital and Stylish by Adding Animated Hover Effect on your Blog Post title.And Don't have to Do any Hard work but just copy and Paste once and you are done.

As I mentioned above you can easily add this trick into your blogger blog by applaying simple CSS3 code into your template and you don't wanna add separate html code for this animation effect. Please follow the below steps.



Go to Blogger Dashboard > Template
Backup your Template before making any changes to your blog
Click on Edit HTML
Tick Expand Widget Templates
Press Ctrl + F and search the code shown below ▼

]]></b:skin>



Now add the below code just Above/Before  ]]></b:skin> (use Ctrl+F to find the code)
.post h2 {
margin:.1em 0 0;
padding:0 0 4px;
font-size:1.0em;
font-weight:normal;
line-height:2.5em;
color:#444;
font-family: Oswald, Serif;
}
.post h2 a, .post h2 a:visited, .post h2 strong {
display:block;
text-decoration:none;
color:#444;
font-size:2.0em;
font-weight:normal;
font-family: Oswald, Serif;
}
.post h2 strong, .post h2 a:hover {
color:#0274be;
background: url("http://iconkits.com/images/vip/aerozone_arrow_small_preview.png") no-repeat 4px center transparent;
padding: 3px 10px 3px 50px;
-moz-transition: all 1s ease-out;
-o-transition: all 1s ease-out;
-webkit-transition: all 1s ease-out;
-ms-transition: all 1s ease-out;
transition: all 1s ease-out;
}

Click SAVE TEMPLATE and you're done!


Please note the following thing!!!
You can change the animation icon by changing the url of above highlighted line.

Now you are done! I hope this task seems to be very simple and easy to install. right? It works perfectly fine on other browsers (Mozilla, Chrome and Opera). Please do share this article if you like. We also expect your opinion via comments.
Read More...

21 Mar 2013

15 Downloadable Free Design Magazine

Leave a Comment
Internet offers you a number of Downloadable Free Design Magazines today, and your goal is to choose the most useful and interesting. Most of them are presented in PDF format that makes it possible not only to browse their online versions, but also to download them. Their popularity during the recent years is determined by the fact that they are not constrained by browsers and coding that makes it easy to work with them. Such downloadable free design magazines present the captivating overviews of the latest trends, events and everything that happens in the sphere of design. Of course, this information has always been in a great demand among web designers, ‘cause it can be a great source of useful and inspirational stuff. We have tried our best to gather downloadable free design magazines with the valuable and interesting content and we hope that you will not only browse them during your spare time, but also find a number of helpful tips and ideas in them.



































































Read More...

ShareThis

If You Like This Post Then Please Take 5 Second To Share It!
Twitter Bird Gadget