Content Slider - CSS


/ Published in: CSS
Save to your folder(s)

css Content Slider


Copy this code and paste it in your HTML
  1. #slider-wrap {
  2. overflow: auto;
  3. width: auto;
  4. }
  5. #slider-navigation {
  6. float: left;
  7. margin: 0;
  8. padding: 0;
  9. }
  10. #slider-navi {
  11. list-style-type: none;
  12. margin: 0;
  13. padding: 0;
  14. }
  15. #slider-navi a {
  16. background: none repeat scroll 0 0 rgba(0, 0, 0, 0.4);
  17. border-bottom: 1px solid #FFFFFF;
  18. color: #FFFFFF;
  19. display: block;
  20. font-family: Verdana;
  21. font-size: 14px;
  22. font-weight: bold;
  23. height: 25px;
  24. line-height: 25px;
  25. text-align: center;
  26. text-decoration: none;
  27. width: 150px;
  28. }
  29. #slider-navi a:hover {
  30. background: none repeat scroll 0 0 rgba(219, 234, 249, 0.6);
  31. color: black;
  32. }
  33. #slider-contentWrap {
  34. float: left;
  35. height: 300px;
  36. margin-left: 10px;
  37. overflow: hidden;
  38. }
  39. #slider-contentContainer {
  40. float: left;
  41. height: auto;
  42. margin: 0;
  43. padding: 0;
  44. }
  45. .slider-content {
  46. color: black;
  47. float: left;
  48. height: auto;
  49. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.