Useful CSS / CSS3 code snippets to style HTML elements, for page design, and Web Designers.

  1. Making Responsive IFRAMEs
  2. Tabs effect with CSS
  3. Transparent Background, but not the text-content on it
  4. Center Fiixed and Absolute element
  5. Making DIV Contents Scroll Horizontally, with multiple Div`s inside
  6. CSS Trapezoid Shape
  7. CSS Rhombus Shape
  8. Triangles
  9. Circle and Oval
  10. Polygons (Parallelogram, Pentagon, Hexagon, Octagon)
  11. Stars (with 5, 6, 8, and 12 points)
  12. Buttons
  13. Diamond
  14. TV-Screen
  15. Clepsydra
  16. Egg
  17. Yin-Yang
  18. Heart shape with CSS
  19. Complex Shapes with a single DIV and CSS (Talk Bubble, Badge Ribbon, Infinity, Chevron, Ship)

Daily Test with Code Example

Which attribute is used in <img> tag for the address of the image?
href src rel
<img src="" width="191" height="63" alt="Courses-Web" />
Which CSS code hides the element on page?
display: none; display: inline; position: relative;
#id {
  display: none;
What instruction stops the execution of a while() or for() statement?
continue prompt() break
for(var i = 0; i< 8; i++) {
  if(i > 1) break;
Indicate the function that can create a constant.
define() include() defined()
define("CONSTANT_NAME", "value");
CSS Code Snippets

Last accessed pages

  1. sPBM - Simple PHP Backup Manager (719)
  2. PHP PDO - Select query, fetch (14291)
  3. Creating Mask Layers in Flash (3019)
  4. DirectoryIterator to get file and directory info (1489)
  5. Mystic India Pop (4345)

Top accessed pages

  1. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (49620)
  2. Read Excel file data in PHP - PhpExcelReader (38033)
  3. PHP-MySQL free course, online tutorials PHP MySQL code (36948)
  4. Get Attribute (ID, Class, Name, Title, Src) with jQuery (33324)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (30696)