CSS3 LESS Mixins

1
2
.text-shadow (@string: 0 1px 3px fade(#000, 25%)) {
text-shadow: @string;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

2 Responses

Hi! Just to improve your mixins, I would recommend you change the rgba(0, 0, 0, 0.25) declaration for fade(#000, 25%) (a valid LESS declaration) and get rid of -webkit- and -moz- vendor prefixes for box shadow and border-radius since they are no longer necessary.
@Edson I have fixed, please check the revisions.

Thank you!

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.