Beautiful text

Written by @kerixa 21 August 2012

In all websites, there are texts and headers that express the meaning and contents. What style these texts or headers have will increase the beauty of the website.In the following code, the text is lit as a lamp, which increases the attractiveness of the text and attracts the attention of the audiences more. Specifically using this style for text on a web page with a dark background is very beautiful! Enjoy!

Code Snippet:

                                                <!-- this script is provided by coded by: Kerixa Inc. -->
@import url('');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    background-image: linear-gradient(315deg, #000000 0%, hsl(271.4,11.2%,36.7%) 74%);

button {
    width: 150px;
    background: none;
    border: none;
    color: #333;
    font-family: 'Warnes', cursive;
    font-size: 30px;
    cursor: pointer;

button span {
    margin: -6px;
    padding: 0;

#neon:hover span {
    animation: flicker 1s linear forwards;

#neon:hover #e {
    animation-delay: .2s;

#neon:hover #o {
    animation-delay: .5s;

#neon:hover #n2 {
    animation-delay: .6s;

@keyframes flicker {
0% {
    color: #333;

5%, 15%, 25%, 30%, 100% {
    color: #fff;
    text-shadow: 0px 0px 25px cyan;

10%, 20% {
    color: #333;
    text-shadow: none;

#neon:focus {
    outline: none;
<button id="neon">
    <span id="n">H</span>
    <span id="e">t</span>
    <span id="o">m</span>
    <span id="o">l</span>
    <span id="n2">f</span>
    <span id="n">r</span>
    <span id="e">e</span>
    <span id="o">e</span>
    <span id="n2">c</span>
    <span id="n">o</span>
    <span id="e">d</span>
    <span id="o">e</span>
<a target='_blank' href='' style='font-size: 8pt; text-decoration: none'>Html Free Codes</a>                                                


About @kerixa

I am Krishna Eydat. I studied Software Engineering at University of Waterloo in Canada. I lead a few tech companies. I am passionate about the way we are connected. I would like to be part of something big or be the big deal!



Here you can leave us commments. Let us know what you think about this code tutorial!

0 / 300

Online Users: 12
Recent Members: carfaoui, Ali7hry, alexnicola, Adam20, Prashanthcs11
advertisement 2