10 CSS Text Shadows

Developer
Size
2,623 Kb
Views
26,312

How do I make an 10 css text shadows?

Exploring different text shadow and headline effects. The units are relative to the font-size, and will scale with the text.. What is a 10 css text shadows? How do you make a 10 css text shadows? This script and codes were developed by Tommy Hodgins on 12 July 2022, Tuesday.

10 CSS Text Shadows Previews

10 CSS Text Shadows - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>10 CSS Text Shadows</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Raleway:900'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Arbutus'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Sarina'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Press+Start+2P'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Limelight'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Open+Sans:800'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Libre+Baskerville'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Anton'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Catamaran:800'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Teko:700'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h2 class=invisible>Invisible</h2>
<h2 class=outline>Outline</h2>
<h2 class=offset>Offset</h2>
<h2 class=fade>Fade</h2>
<h2 class=diagonal>Diagonal</h2>
<h2 class=cross>Cross</h2>
<h2 class=ransom>Ransom</h2>
<h2 class=fuzzy>Fuzzy</h2>
<h2 class=underline>Underline</h2>
<h2 class=stripe>STRIPE</h2>
</body>
</html>

10 CSS Text Shadows - Script Codes CSS Codes

body { margin: 0; color: white; background: black; font-size: 10pt; text-align: center; font-family: sans-serif;
}
h1 { margin: 2em 0; font-size: 200%;
}
h2 { font-size: 400%;
}
/* Invisible Text Shadow */
.invisible { color: black; font-family: 'Raleway', sans-serif; text-shadow: white .04em .04em 0;
}
/* Outline Text Shadow */
.outline { color: black; font-family: 'Arbutus', sans-serif; text-shadow: white .02em 0 0, white 0 .02em 0, white -.02em 0 0, white 0 -.02em 0;
}
/* Offset Text Shadow */
.offset { font-family: 'Sarina', sans-serif; text-shadow: black .05em .05em 0, white .08em .08em 0;
}
/* Fade Text Shadow */
.fade { font-family: 'Press Start 2P', sans-serif; text-shadow: rgba(255,255,255,.5) .02em .02em, rgba(255,255,255,.4) .04em .04em, rgba(255,255,255,.3) .06em .06em, rgba(255,255,255,.2) .08em .08em, rgba(255,255,255,.1) .1em .1em;
}
/* Diagonal Text Shadow */
.diagonal { font-family: 'Limelight', cursive; color: black; text-shadow: white -.02em 0 0, white -.06em -.02em 0, white -.1em -.03em 0, white -.14em -.06em 0, white .02em .02em 0;
}
/* Cross Text Shadow */
.cross { font-family: 'Open Sans', sans-serif; color: black; text-shadow: white .02em -.02em 0, white .04em -.04em 0, white .06em -.06em 0, white .08em -.08em 0, white .1em -.1em 0, white -.02em .02em 0, white -.04em .04em 0, white -.06em .06em 0, white -.08em .08em 0, white -.1em .1em 0;
}
/* Ransom Text Shadow */
.ransom:first-letter { background: black; padding: 0 .1em; text-shadow: rgba(255,255,255,.3) .04em -.04em 0, rgba(255,255,255,.7) 0 0 0, black .02em .02em 0, rgba(255,255,255,.7) .02em .04em 0;
}
.ransom { font-family: 'Libre Baskerville', serif; background: white; color: transparent; text-shadow: rgba(0,0,0,.5) .04em -.04em 0, rgba(0,0,0,.7) 0 0 0, white .02em .02em 0, rgba(0,0,0,.3) .02em .04em 0;
}
/* Fuzzy Text Shadow */
.fuzzy { font-family: 'Anton', sans-serif; color: transparent; text-shadow: white 0 0 .1em;
}
/* Underline Text Shadow */
.underline { font-family: 'Catamaran', sans-serif; margin: 0; display: inline-block; position: relative;
}
.underline:after { content: ''; position: absolute; display: block; height: .35em; width: 120%; margin-left: -60%; left: 50%; bottom: -.35em; border-radius: 50%; z-index: -1; background: black;
}
.underline:before { content: ''; position: absolute; display: block; height: .3em; width: 110%; margin-left: -55%; left: 50%; bottom: -.22em; border-radius: 50%; z-index: -2; background: white; background: linear-gradient(to right, white 25%,black 100%);
}
/* Stripe Text Shadow */
.stripe { font-family: 'Teko', sans-serif; color: black; text-shadow: white .02em 0 0, white 0 .02em 0, white -.02em 0 0, white 0 -.02em 0, black .06em 0 0, black .06em .06em 0, black 0 .06em 0, black -.06em .06em 0, black -.06em 0 0, black -.06em -.06em 0, black 0 -.06em 0, black .06em -.06em 0, white .08em 0 0, white .08em .08em 0, white 0 .08em 0, white -.08em .08em 0, white -.08em 0 0, white -.08em -.08em 0, white 0 -.08em 0, white .08em -.08em 0;
}
10 CSS Text Shadows - Script Codes
10 CSS Text Shadows - Script Codes
Home Page Home
Developer Tommy Hodgins
Username tomhodgins
Uploaded July 12, 2022
Rating 4.5
Size 2,623 Kb
Views 26,312
Do you need developer help for 10 CSS Text Shadows?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Tommy Hodgins (tomhodgins) Script Codes
Create amazing marketing copy with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!