Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <!-- Global site tag (gtag.js) - Google Analytics -->
- <script async="" src="https://www.googletagmanager.com/gtag/js?id=G-420XFJRS1M"></script>
- <script>
- window.dataLayer = window.dataLayer || [];
- function gtag() {
- dataLayer.push(arguments);
- }
- gtag('js', new Date());
- gtag('config', 'G-420XFJRS1M');
- </script>
- <link rel="shortcut icon" href="https://1xpto.netlify.app/items/favicon.gif" type="image/x-icon">
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="keywords" content="Facebook add friend button">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Facebook add friend button</title>
- <style>
- body {
- font-family: calibri;
- font-weight: bold;
- }
- img {
- width: 15%;
- }
- .top {
- text-align: center;
- font-size: 6vw;
- }
- .src {
- text-align: center;
- display: block;
- font-size: 3vw;
- }
- @media all and (orientation:portrait) {
- img {
- width: 45%;
- margin-top: 30px;
- }
- .top {
- font-size: 12vw;
- }
- .src {
- font-size: 8vw;
- }
- }
- @media all and (orientation:landscape) and (max-width:640px) {
- img {
- width: 40%;
- margin-top: 30px;
- }
- .top {
- font-size: 10vw;
- }
- .src {
- font-size: 5vw;
- }
- }
- @media all and (orientation:landscape) and (min-width:641px) and (max-width:768px) {
- img {
- width: 40%;
- margin-top: 30px;
- }
- .top {
- font-size: 10vw;
- }
- .src {
- font-size: 5vw;
- }
- }
- </style>
- </head>
- <body>
- <h1 class='top'>Facebook<br>add friend<br>
- <a onclick='goto()' href='#'><img src='https://1xpto.netlify.app/pic/addfriend.gif'></a>
- </h1>
- <a class='src' onclick='go()' href='#'>Source code</a>
- <audio id='audio' loop src='https://1xpto.netlify.app/audio/mediauto.mp3'></audio>
- <script>
- function goto() {
- audio.play();
- window.open('https://www.facebook.com/ManuelJSAndrade');
- }
- function go() {
- audio.play();
- window.open('https://codepen.io/manuel-andrade/pen/yLKQPjd');
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement