CSS: Drop Caps

  • Post category:CSS
  • Post comments:0 Comments

CSS: Drop Caps
CSS: Drop Caps

Use the first-letter Pseudo-Class

The easiest way to create CSS Drop Caps is to use the first-letter pseudo-element on the element you want to have a drop cap. The problem is, this isn’t supported in all browsers. Be sure to test this in the browsers your Web site supports.

Type the following and place it in a

element at the top of your Web page:
(more…)

Continue ReadingCSS: Drop Caps

CSS3 Generator

  • Post category:CSS
  • Post comments:0 Comments

CSS3 Generator v1.7 http://css3generator.com/ This site help you to generate CSS3 code such as : Border Radius Box Shadow Text Shadow RGBA @Font Face Multiple Columns Box Resize Box Sizing…

Continue ReadingCSS3 Generator

Setting Equal Heights with jQuery

We wrote a script to “equalize” the heights of boxes within the same container and create a tidy grid — with little overhead.

Creating the visual effect of equal-height columns or content boxes has been a challenge ever since we abandoned table-based layouts. When developing complex web applications or site designs we’ve found that it often makes the most sense from a usability and performance standpoint to use a simple JavaScript workaround: our equalHeights() function determines the heights of all sibling elements in a container, and then sets each element’s minimum height to that of the tallest element. When JavaScript is disabled, the boxes or columns appear with varying heights, but the content remains legible and the page is still completely usable.
(more…)

Continue ReadingSetting Equal Heights with jQuery