adc

clicks

Text Shadow Effect in Html and Css Source Code Free

 



HTML
Before we start writing code first, we need to create a primary structure of the HTML document, so that the browser can understand and start working. The basic HTML structure looks like the following.
After writing the primary structure of the HTML document, you will also write the tags and content you need. After that, you can see the output in your browser. We know that HTML Sudu Mae is used for exposing content in a basic format. To complete our content we need to use CSS, which is an HTML insert and it creates an engaging user interface.


<!DOCTYPE html>
<html>
<head>
               <title>text shadow</title>
               <link rel="stylesheet" type="text/css" href="style.css">
              
</head>
<body>
               <div class="text">
                              Web Design
               </div>
 
</body>
</html>

 CSS 

Now, we have time to improve the HTML content, for that, we need to add CSS to the HTML file. CSS can be added to HTML documents in a total of three ways, here we are using outside CSS design using CSS will arrive here after typing and see the output in your browser.


*{
               margin: 0;
               padding: 0
}
.text{
               background:#87212e;
               position: relative;
               margin: -8px;
               font-size: 225px;
               text-align: center;
               height: 55vh;
               line-height: 90vh;
               color: #000000;
               font-weight: 700;
               text-shadow:5px  5px   0 #8bb83a,
                           10px 10px  0 #fd8311,
                           15px 15px  0 #ff6ae5,
                           20px 20px 0  #84254a,
                           25px 25px 0  #4a6855,
                           30px 30px 0  #0094fb;
 
}










Text Shadow Effect in Html and Css Source Code Free Text Shadow Effect in Html and Css  Source Code Free Reviewed by easycoding on August 28, 2020 Rating: 5

No comments:

Powered by Blogger.