body {
    font-family: "Courier New", Courier, monospace;
    font-size: 16px;
    height: 100%;
    width: 100%;
    background-color: black;
    color: #00ff2b;
    -webkit-text-size-adjust: 100%;
}

.text {
    font-family: "Courier New", Courier, monospace;
    font-size: 16px;
    position: relative;
    display: inline-block;
    color: #00ff2b;
}

.text::after {
    content: "";
    position: absolute;
    top: 0;
    right: -15px;
    /* Remove display: inline-block if not required to be on the same line as text etc */
    display: inline-block;
    background-color: #00ff2b;
    vertical-align: top;
    width: 10px;
    /* Set height to the line height of .text */
    height: 16px;
    /*
  Animation paramaters:
  blink = animation-name,
  1s = animation-duration,
  step-end = animation-timing-function,
  infinite = animation-iteration-count
  */
    -webkit-animation: blink 1s step-end infinite;
    animation: blink 1s step-end infinite;
}

@-webkit-keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
