Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html>
- <head>
- <link rel="stylesheet" type="text/css" href="css/style.css" />
- <script type="text/javascript" src="js/jquery-1.7.2.min.js" ></script>
- <script type="text/javascript" src="js/upload.js" ></script>
- <script type="text/javascript">
- $('#dropzone').hover(function() {
- $('#dropzone').toggleClass('hover');
- });
- </script>
- </head>
- <body>
- <div id="dropzone">Drop files here</div>
- </body>
- </html>
- #dropzone {
- width: 90%;
- height: 100px;
- margin: auto;
- background: #BBB;
- border-radius: 7px;
- text-align: center;
- }
- #dropzone.hover {
- color: yellow;
- background: #777;
- }
Add Comment
Please, Sign In to add comment