CiviFirst retweeted
CSS Tip! 🤙
You can create this magnetic :hover effect with CSS anchor positioning, :has, and zero JS 🔥
article { anchor-name: --develop; }
ul:has(li:hover) { --anchor: --develop; }
ul::after {
inset:
anchor(var(--anchor) top)
anchor(var(--anchor) right)
... ;
}
How do you keep it clean when entering/exiting the list? Use transition-delay ⭐️
ul:has(li:hover) { --active: 1; }
ul::after {
opacity: var(--active, 0);
transition: opacity 0.2s, inset 0.2s 0.2s;
}
ul:hover::after {
transition: opacity 0.2s 0.2s, inset 0.2s;
}
This is a cool trick you can use. Delay the opacity on enter and then delay the position on exit. That way you don't get a weird effect on enter/exit 🙏
This one's a "Future" CSS tip 🔮 But, the demo will work in all browsers in some way. The idea is to progressively enhance it.
1. No JavaScript and no Anchor Positioning? Highlight on hover ✏️
2. No Anchor Positioning? Use JavaScript with a single event listener to update the inset values using elementFromPoint and .closest 🫶
3. If there is Anchor Positioning support, use that and don't fire the JavaScript. You can check with CSS.supports('anchor-name: --anchor') ✨
That's it!
@CodePen link below! 👇
CiviFirst retweeted
A machine learning algorithm walks into a bar… The bartender asks, "What would you like to drink?" The algorithm replies, "What's everyone else having?" 😂
CiviFirst retweeted
Meet UglyDuckling, our #opensource vulnerability scanning tool built for bug bounty hunters, ethical hackers, security researchers and all those in-between: https://nitter.cf/t.co/1t4gShKCez. #bugbountytip
CiviFirst retweeted
Spending an hour or so in the company of the #CiviCRM Community. How else do you spend a Friday evening?
#CiviCampfire
CiviFirst retweeted
Latest commission/brief: New Website and CRM Needed
We are looking for a company/agency to build a new website (Wordpress) and CRM (CiviCRM).... ift.tt/3j4LALB
CiviFirst retweeted
Multiple SA's published for Drupal 9.0.x, 8.9.x, 8.8.x, and 7.x drupal.org/security
CiviFirst retweeted
Wolves are compassionate. Wolves are caring. Be like a wolf.
https://nitter.cf/t.co/gkcml0evnG #savethelobo
CiviFirst retweeted
With only 12 red wolves known to remain in the wild, he could be the last one you see. #saveredwolves
nywolf.org/learn/red-wolf/
CiviFirst retweeted
Retweet using #WinARaspberryPiThing to, y’know, win a Raspberry Pi thing. More details in the tweet and blog post.
🚨 WIN WIN WIN! 🚨 @TheMagPi and @HackSpaceMag have dropped their subscription prices for fans in the USA. Find out more and see how you can #WinARaspberryPiThing by clicking here ⬇️ raspberrypi.org/blog/usa-mag…
CiviFirst retweeted
Nobody does family better than wolves 🐺
Wild wishes, from our family to yours!
nywolf.org/2019/11/stunning-…
CiviFirst retweeted
Replying to @Atlassian
.@Atlassian please do not kill Slack or make slow/clumsy like jira, confluence, hipchat, bamboo, ....
CiviFirst retweeted
Caritas Anchor House helps to transform the lives of over 250 homeless people each year. Learn more about our work: buff.ly/2wLO8WW






















