Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *{
- margin: 0;
- padding: 0;
- border: 0;
- }
- html{
- background: #f9f9f9;
- }
- #slider{
- position: relative;
- overflow: hidden;
- margin: 20px auto 0 auto;
- border-radius: 4px;
- }
- #slider ul{
- list-style: none;
- position: relative;
- height: 200px;
- }
- #slider ul li{
- position: relative;
- display: block;
- float: left;
- width: 400px;
- height: 400px;
- background: #ccc;
- text-align: center;
- line-height: 300px;
- }
- a.control_next, a.control_prev{
- position: absolute;
- top: 50%;
- z-index: 999;
- display: block;
- padding: 4px;
- background: blue;
- color: black;
- text-decoration: none;
- font-weight: bold;
- font-size: 50px;
- cursor: pointer;
- border-radius: 10px;
- }
- a.control_prev:hover, a.control_next:hover{
- opacity: 1;
- color: #00ff15;
- background: red;
- }
- /*Para o controlador nao sumir*/
- a.control_next{
- right: 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement