How to Create an Advanced Scrolling Design for Your One-Page Website
The post How to Create an Advanced Scrolling Design for Your One-Page Website appeared first on Torque.
If you don’t already know of it, Todd Motto has this great list of public APIs. It’s awesome if you’re trying out a new framework or new layout pattern and want to hit the ground running without fussing with the content.
But what if you want or need to make your own API? Serverless can help create a nice one for data you’d like to expose for use.
Serverless really shines for this use case, and hopefully this post …
The post Create your own Serverless API appeared first on CSS-Tricks.
A few weeks back, I saw one of my esteemed mentors decry the psychological traumas he had experienced, following series and series of refusals at certain embassies.
“A child concentrating hard at school” by Les Anderson on Unsplash
You would think he went for a contract he did not have the capacity for, but then, you would have been wrong. He needed to impart knowledge. He opted to do so across borders, but then, some realities were harsh.
We are …
The post Remote Conferences; Bridging the Gap, Clearing the Odds appeared first on CSS-Tricks.
It’s not that Martijn Cuppens used User Agent sniffing, CSS hacks, or anything like that to make this quirk div. This is just a plain ol’ <div> using the outline property a la:
div {
inset 100px green;
outline-offset: -125px;
}
It looks different in different browsers because browsers literally render something differently in this strange situation.
I happened upon Reddit user spidermonk33’s comment in which they animated the offset to understand it a bit more. I took that …
The post The div that looks different in every browser appeared first on CSS-Tricks.
If you want a gradient that changes as you scroll down a very long page, you can create a gradient with a bunch of color stops, apply it to the body and it will do just that.
But, what if you don’t want a perfectly vertical gradient? Like you want just the top left corner to change color? Mike Riethmuller, re-using his own technique from the CSS-only scroll indicator (A-grade CSS trickery), did this by overlapping two gradients. The “top” …
The post Scrolling Gradient appeared first on CSS-Tricks.
By now, we all know that the major tech behemoths like Facebook or Google know everything about our lives, including how often we go to the bathroom (hence all the prostate medication ads that keep popping up, even on reputable news sites). After all, we’ve given them permission to do so, by reading pages and pages of legalese in their T&C pages (we all did, didn’t we?) and clicking on the “Accept” button.
But what can a site do to …
The post Anatomy of a malicious script: how a website can take over your browser appeared first on CSS-Tricks.
Explore what the world is searching. Enter a search term or a topic.


