<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>3D Marquee Effect</title> <style> html,body{ height: 400px; background: #a144ff; } .box{ display: flex; margin-top: 200px; } .inner{ width: 1000px; height: 240px; line-height: 200px; font-size: 6em; font-family: sans-serif; font-weight: 800; white-space: nowrap; overflow: hidden; box-shadow: 4px 6px 8px rgba(0, 0, 0, 0.5); } .inner:first-child{ background: indianred; color: #f1f1f1; transform-origin: right; transform: perspective(100px) rotateY(-15deg); } .inner:last-child{ background: lightcoral; color: #ff0; transform-origin: left; transform: perspective(100px) rotateY(15deg); } .inner span{ position: absolute; animation: marquee 5s linear infin
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>SkycodingLab - Live Character Count Application</title> <style> *{ padding: 0; margin: 0; box-sizing: border-box; font-family: "Poppins",sans-serif; } body{ background-color:#0078d4; } .container{ width: 400px; position: absolute; transform: translate(-50%,-50%); top: 50%; left: 50%; } textarea{ width: 100%; resize: none; background-color: #d2e8ff; border: none; font-size: 16px; line-height: 28px; padding: 15px; border-radius: 4px; color: #121f3c; outline: none;