Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Der Titel des Dokuments</title> <style> .vertical { display: inline-block; margin: 0; line-height: 1em; font-family: Helvetica, Arial, sans-serif; font-weight: bold; font-size: 60px; background: linear-gradient(to right, #1c87c9 50%,#113155 50%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .horizontal { display: inline-block; margin: 0; line-height: 1em; font-family: Helvetica, Arial, sans-serif; font-weight: bold; font-size: 60px; background: linear-gradient(to top, #1c87c9 50%,#113155 50%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } </style> </head> <body> <div> <h2>Ich bin ein vertikal halb gestylter Buchstabe.</h2> <span class="vertical">X</span> <h2>Ich bin ein horizontal halb gestylter Buchstabe.</h2> <span class="horizontal">X</span> </div> </body> </html>