+ 12
how to make shadow for text on CSS
please help me! I want to make shdow for this code: https://code.sololearn.com/WXQe0VOKwhqz/?ref=app
5 ответов
+ 1
p {
text-shadow: 1px 1px 1px #000;
}
The first two values specify the length of the shadow offset. The first value specifies the horizontal distance and the second specifies the vertical distance of the shadow. The third value specifies the blur radius and the last value describes the color of the shadow
+ 5
<!DOCTYPE html>
<html>
<head>
<style>
h2 {
text-shadow: 2px 2px #FF0000;
}
</style>
</head>
<body>
<h2>Text-shadow effect</h2>
<p style="color:red">Internet Explorer 9 and earlier do not support the text-shadow property.</p>
</body>
</html>
It's simple
+ 4
Just Remember this-
text-shadow: h-shadow v-shadow blur-radius color;
+ 2
p {
text-shadow: 1px 2px 3px #123456;
}
(1px horizontal, 2px vertical, 3px blur, #123456 hex color
- 1
heck ya my guy