(semi-hiatus) ettudis/ browse/ history/ ask/ Contains theme-related question and answers, html and css tutorials, resources of all types.

Themes are located on the website (click the link labeled "content", it will drop down to link to "tumblr themes").

I often use CSS shorthand on my coding, and I found the following article extremely useful. For anyone who’s familiar with CSS, this could be very helpful.

scriptiny:

There have been a number of occasions when looking over other developer’s CSS I notice bits of code similar to the following…

#div {
margin-top: 20px;
margin-bottom: 10px;
margin-right: 5px;
margin-left: 25px;
padding-top: 10px;
padding-bottom: 15px;
border-width: 1px;
border-style: solid;
border-color: #666666;
font-family: Verdana, Helvetica, Arial;
font-size: 14px;
font-weight: bold;
}

The above code is littered with properties that could easily be combined for more legible code and decreased file size. Some properties might even be removed altogether since they default to the desired value. Below you will find before and after examples of some of the most useful CSS shorthand properties. As a general rule any browser later than IE5 should support all of these.

READ MORE 


Posted on 17 Aug 2011, with 44 notes
tagged with resource - resource: tutorials -
  1. alyssas-themes reblogged this from koukyun
  2. interfenestrate reblogged this from fukuo
  3. koukyun reblogged this from madarathemes
  4. fenjun reblogged this from fukuo
  5. thematchgirl reblogged this from ettudis
  6. rustigheid reblogged this from fukuo
  7. transientneurosis reblogged this from madarathemes
  8. twostrongarms reblogged this from wayward-wayfinder
  9. littlebell02 reblogged this from madarathemes
  10. the-blank-canvas reblogged this from madarathemes
  11. madarathemes reblogged this from fukuo
  12. phantomearl reblogged this from fukuo
  13. wayward-wayfinder reblogged this from fukuo
  14. fukuo reblogged this from ettudis
  15. ettudis posted this