Advertisement
Guest User

Slide Show em Jquery HTML5 CSS3

a guest
Mar 18th, 2023
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.96 KB | Source Code | 0 0
  1. *{
  2.     margin: 0;
  3.     padding: 0;
  4.     border: 0;
  5. }
  6.  
  7. html{
  8.     background: #f9f9f9;
  9. }
  10.  
  11. #slider{
  12.     position: relative;
  13.     overflow: hidden;
  14.     margin: 20px auto 0 auto;
  15.     border-radius: 4px;
  16. }
  17.  
  18. #slider ul{
  19.     list-style: none;
  20.     position: relative;
  21.     height: 200px;
  22. }
  23.  
  24. #slider ul li{
  25.     position: relative;
  26.     display: block;
  27.     float: left;
  28.     width: 400px;
  29.     height: 400px;
  30.     background: #ccc;
  31.     text-align: center;
  32.     line-height: 300px;
  33. }
  34.  
  35. a.control_next, a.control_prev{
  36.     position: absolute;
  37.     top: 50%;
  38.     z-index: 999;
  39.     display: block;
  40.     padding: 4px;
  41.     background: blue;
  42.     color: black;
  43.     text-decoration: none;
  44.     font-weight: bold;
  45.     font-size: 50px;
  46.     cursor: pointer;
  47.     border-radius: 10px;
  48. }
  49.  
  50. a.control_prev:hover, a.control_next:hover{
  51.     opacity: 1;
  52.     color: #00ff15;
  53.     background: red;
  54. }
  55.  
  56. /*Para o controlador nao sumir*/
  57. a.control_next{
  58.     right: 0;
  59. }
  60.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement