how to give better look to a text with css?
- نفیسه افقی 10 ماه قبل سوال کرد
- آخرین ویرایش 10 ماه قبل
- شما باید برای ارسال دیدگاه وارد شوید
Like shapes (see this post), you can make shadow for a text too. We have 4 parameters for this purpose:
1- distance in x-axis
2- distance in y-axis
3- The amount of darkness
4- shadow color
h1 {
text-shadow: 0 1px 0 white;
color: #292929;
}
body { background: white; }
h1 {
text-shadow: 0 1px 0 black, 0 -1px 0 black, 1px 0 0 black, -1px 0 0 black;
color: white;
}
* you can have multiple shadows for a text (separate with ,)
- نفیسه افقی 10 ماه قبل پاسخ داد
- شما باید برای ارسال دیدگاه وارد شوید
پاسخ شما