Read the statement by Michael Teeuw here.
Add fade from another point instead vertical
-
I want to know if there’s any way to put fade from the right to the left. In calendar module i want to add fade effect to long lenght events.
-
@Quesada Google search, css animations
-
i don’t want animation. What i want is this:
-
you can play around with gradient backgrounds
maybe this works (disclaimer : I haven’t tried it, just looked up text fade with css):
.calendar .title:before { content:''; width:100%; height:100%; position:absolute; left:0; top:0; background: linear-gradient(to right, transparent, #000 100%); } -
@Quesada but that is animation
-
@broberg It didn’t work out for me, but that’s okay, I’ll try to see if it works out differently.
Thanks for help
-
Here is the CSS I use for a vertical gradient:
.calendar table:after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.48) 100%); }You could modify the above (using the deg angle) to create a horizontal gradient.
https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login