blog

  • Home
  • blog
  • Position an element relatively to another element

Position an element relatively to another element

Category: Link

Not possible currently in CSS, but there is a discussion happening around syntax like:

.el {
  position: element(#target)
}

Of course there are tons of details, gotchas, and edge cases, but it sounds likely.

Direct Link to ArticlePermalink


Position an element relatively to another element is a post from CSS-Tricks

LEAVE A REPLY