How to make running text using HTML and CSS





























Hello Developers, We provide you with a dynamic and eye-catching running text snippet that shows you how to create running text in HTML CSS that displays your information in an easy to understand way. An innovative HTML and CSS running text snippet is an effective way to display data in an organized way. This snippet is beautifully designed with HTML and CSS. You can create this snippet and also customize the font, color and animation to grab the attention of your visitors. By using CSS keyframes, you can make your text scroll or fade smoothly, enhancing the user experience. Whether it's news, promotions or announcements, well-designed running text can effectively convey your message and engage your audience. This snippet is fully responsive, so you can display it on any device. Whether desktop, laptop, tablet or smartphone, your running text will always be clearly displayed. This running text has been carefully crafted using HTML and CSS so that you not only share information, but also demonstrate your commitment to professionalism and modern web design. Use this innovative and creative running text snippet to impress and engage with the world.

How to make running text using HTML and CSS.[Source Code]

To make this website, you would like to make two files: an HTML file, a CSS file. First, create an HTML file with the name of index.html and remember, you have to create a file with a .html extension.

<!DOCTYPE html> <html> <head> <title>Running Letters CSS Animation Card UI design - learningrobo</title> <meta name="description" content="Running Letters CSS Animation Card UI design - learningrobo"> <meta name="author" content="learningrobo.com"> <meta name="keywords" content="Running Letters CSS Animation Card,responsive,learningrobo.com,html & css projects,project"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="icon" type=image/x-icon href="#"> <link rel="stylesheet" href="style.css"> <meta charset="UTF-8"> <script src="https://kit.fontawesome.com/5d72166fb5.js" crossorigin="anonymous"></script> </head> <body> <!--Hello Future Developer Thanks for Using learningrobo.com, Share & Support us--> <div class="parent"> <div class="container"> <div class="running-letters"> This text is running inside the Div. You can change the speed,font and so on by your needs..... </div> </div> </div> <div class="credit">Made with <span>❤ </span>by <a href="https://www.learningrobo.com/">learningrobo</a></div> <!--Check our website Regularly For New Snippets Post--> </body> </html>
CSS provides style to an HTML page. To make the page attractive create a CSS file with the name style.css and remember that you have to make a file with a .css extension.


/** 
Hello Future Developer Thanks for Using learningrobo.com, 
Check our website Regularly For New Snippets Post.

Share & Support us
**/
@import url('https://fonts.googleapis.com/css2?family=Yantramanav&display=swap');
*{
    box-sizing: border-box;
}
body{
    margin:0%;
    background-color:rgb(255, 255, 255);
}
.parent{
    width: 90%; /* Set the container's width to 80% of its parent */
    height:70px;
    margin: 0 auto; /* Center the container horizontally */
    overflow: hidden; /* Hide overflowing content within the container */
    background-color:rgb(39, 39, 39);
    border-radius:5px;
    position: relative;
    top:10px;
    padding:10px;
    box-shadow:0px 0px 17px #0f0f0f60;
}
.container{
    width: 100%; /* Set the container's width to 80% of its parent */
    height:50px;
    margin: 0 auto; /* Center the container horizontally */
    overflow: hidden; /* Hide overflowing content within the container */
    background-color:rgb(36, 36, 36);
    border-radius:5px;
    padding:15px 0px;
    position: relative;
    box-shadow:0px 0px 17px #000000 inset;
}
.running-letters{
    white-space: nowrap; /* Prevent line breaks */
    animation: run-letters 15s linear infinite; /* Define the animation */
    font-weight:400;
    font-size:20px;
    color:#ddd;
}
@keyframes run-letters{
    0%{
        transform: translateX(100%);
    }
    100%{
        transform: translateX(-100%);
    }
}
@media only screen and (max-width: 630px){
    .parent{
        width: 100%; /* Set the container's width to 100% of its parent in mobile */
    }
}
.credit a{
    text-decoration: none;
    color: #121212;
    font-weight: 800;
}
.credit{
    color: #121212;
    text-align: center;
    margin-top: 10px;
    font-family: Verdana,Geneva,Tahoma,sans-serif;
}
.credit span{
    color:tomato;
    font-size:20px;
}
We hope you would like this running text using HTML and CSS.

Thank you for reading our blog. If you face any problem in Creating a running text using HTML and CSS., then contact us or comment to us. We’ll try to provide a solution to your problem as soon as possible.

Press The Key ' p ' and say ' read article ' our voice assistant read our article.
In Our older post it doesnot work we working on that.

1 Comments

Thank you
Learning robo team

Post a Comment

Thank you
Learning robo team

Post a Comment

Previous Post Next Post
Learning Robo says...
code copied
Welcome