April 5, 2020
  • 9:27 pm KickSat-2 project launches 105 cracker-sized satellites
  • 9:05 pm Apple’s new ecosystem world order and the privacy economy
  • 8:46 pm SEC expands its war on cryptocurrency companies with a lawsuit against Kik
  • 8:39 pm VCs bet $12M on Troops, a Slackbot for sales teams
  • 8:07 pm Movin’ Modals Along a Path

Modals always be just appearin’. You might see one once in a while that slides in from one of the edges, or uses some kind of scale/opacity thing to appear from “above” or “below.” But we can get weirder than that. Why not have them come in on an offset-path?

Just a swoopy arc is kinda fun.

See the Pen
Move Modal In on Path
by Chris Coyier (@chriscoyier)
on CodePen.

Or we could Mary… Read article

The post Movin’ Modals Along a Path appeared first on CSS-Tricks.

READ MORE

Please stop me if you’ve heard this one before. You open a modal, scroll through it, close it, and wind up somewhere else on the page than you were when you opened the modal.

That’s because modals are elements on a page just like any other. It may stay in place (assuming that’s what it’s meant to do) but the rest of page continues to behave as normal.

See the Pen
Avoid body scrollable in safari when modal dialog shown
Read article

The post Prevent Page Scrolling When a Modal is Open appeared first on CSS-Tricks.

READ MORE