- Right-click on Solution Explorer.
- Add->add new item->HTML form.
- The Name of the HTML form is "Html.html".
Step 5 : In this step we define the body part of a title.
Code
<body>
<div class="text-glow">
<a href="#">
<h1>MCN Solution</h1>
<h1>MCN professional</h1>
<h1>CsharpCorner</h1>
</a>
</div>
</body>
Step 6 : In the css file we define the Text Glow class that sets the all properties on the font; that is font family, font size and color of a font.
Code
.text-glow
{
font-size:4em;
color:Green;
font-family:Arial;
}
Step 7 : Now in this step we define a hover, focus and active attributes of a text glow class.
Code
.text-glow:hover,
.text-glow:focus
.text-glow:active
{
ctx-stroke-width: 5.3px;
ctx-stroke-color: Green;
ctx-fill-color: Green;
text-shadow: 1px 0px 20px Red;
ctx-transition: width 0.3s;
transition: width 0.3s;
moz-transition: width 0.3s;
o-transition: width 0.3s;
}
Step 8 : In the above step we define a hover, focus and active attributes of a text glow class. Now in hte second phase we define link attributes.
Code
.text-glow a
{
ctx-transition: all 0.3s ease-in;
ctx-transition: all 0.3s ease-in;
M-transition: all 0.3s ease-in;
O-transition: all 0.3s ease-in;
text-decoration:none;
color:white;
}
Step 9 : This step we set the transition effect, which is very popular with CSS3 designers. To implement this effect on your page simply set the div class and add an href tag around the text that you want to link and glow.
Code
<body>
<div class="text-glow">
<a href="#">
</a>
</div>
</body>
Step 10 : The complete code of a text glow application is given below.