Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function addCssToHead(cssRules) {
- var styleElement = document.createElement('style');
- styleElement.textContent = cssRules;
- document.head.appendChild(styleElement);
- }
- var css = ` #tooltip {
- border-radius: 25px !important; /* Adjust as needed */
- background-color: #585858 !important; /* Background color */
- color: #fff !important; /* Text color */
- font-size: 14px !important; /* Font size */
- transition: opacity 1s ease, transform 1s ease, background-color 1s ease; /* Fade-in and bounce transition */} `;
- addCssToHead(css);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement