Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- </head>
- <body>
- <style>
- body{background: #C5D0E6}
- .btn{
- display: inline-block;
- color: rgb(4, 4, 4);
- width: 500px;
- height: 500px;
- font-weight: 600;
- text-decoration: none;
- user-select: none;
- padding: .5em 2em;
- outline: none;
- border: 4px solid;
- border-radius: 5px;
- transition: 0.9s;}
- .btn:hover { background: rgba(255,255,255,.9); }
- .btn:active { background: white; }
- </style>
- </body>
- </html>
- <?php
- header('refresh: 10');
- $html = "<form action='test.php'><button class = 'btn'>Не показывать больше</button></form>";
- if (!isset($_COOKIE['baner_time'])) echo $html;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement