One click to copy
How do I make an one click to copy?
What is a one click to copy? How do you make a one click to copy? This script and codes were developed by Soufiane Abid on 12 October 2022, Wednesday.
One click to copy - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>one click to copy</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrapper">
<h3 class="head">:: one click to copy ::</h3>
<textarea name="copy" readonly="readonly" spellcheck="false" id="" cols="100" rows="1" class="copytext">
https://cdn.domain.org/filename/docs/Web/framwork/Document/oneclickTocopy
</textarea>
</div> <script src="js/index.js"></script>
</body>
</html>
One click to copy - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Oswald);
body{ background: #FFFFF2; font-family: 'Oswald', sans-serif;
}
.wrapper{ margin: 150px;
}
textarea[name^="c"]{ resize: none; display: block; margin:0 auto; padding: 10px; text-align: center; color: #e3dede; background: #333030; border: none; border-radius: 5px; overflow: hidden; outline: none;
}
textarea::selection{ background: #a3a1a1; color: #f6ea8c;
}
.head{ text-align: center; margin: 0 auto; padding: 0;
}
One click to copy - Script Codes JS Codes
var copyText = document.querySelector('.copytext');
copyText.addEventListener('click', function(e){ var heading = document.querySelector('.head'); e.preventDefault(); this.select(); document.execCommand('copy'); heading.innerHTML = 'Copied';
});
Developer | Soufiane Abid |
Username | SoufianeAbid |
Uploaded | October 12, 2022 |
Rating | 3 |
Size | 2,034 Kb |
Views | 16,192 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
About me Sliding | 3,722 Kb |
Translucent borders | 1,483 Kb |
Responsive pricing table CSS3 | 4,837 Kb |
Flat accordion | 3,349 Kb |
TTT Plans Pricing Table | 3,101 Kb |
Jump loading | 1,796 Kb |
Samatic | 1,776 Kb |
ScrollTop | 2,229 Kb |
Myprofile | 2,451 Kb |
R4 | 1,815 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Greyscale image with filter in CSS3 | NickyCDK | 1,562 Kb |
A Pen by Stan Williams | Stanssongs | 6,706 Kb |
NAV WPMANAGER | Mstoic | 1,991 Kb |
JQuery AJAX reddit Exercise | Btholt | 1,777 Kb |
A form arranged using automatic placement. | Vikasford | 2,103 Kb |
Fading gradient button | Insprd | 1,713 Kb |
Parallax with only CSS | Thulioph | 2,297 Kb |
React JS Movie Info App | MTushar | 4,870 Kb |
CSS-Flexbox-Demo | Sstiglets | 1,709 Kb |
Web Spiral - p5.js | TWAIN | 2,183 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!