Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS interesting stuff from the w3c!

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34006
    seb_z_lite
    Member

    this is really cool!

    Object-fit

    did you know about this?

    background-image: url('swirl.png'); /* old UAs */
    background-image: image('sprites.png#xywh=10,30,60,20'); /* new UAs */

    I recently started going back more and more on the w3c website and I find that it’s really interesting,technical sometimes but I just saw the new image function that can be used for fallbacks and also the object-fit property and maybe it isn’t that new but still, It’s great!

    #85394
    jamygolden
    Moderator

    @seb_z_lite yeah, that’s pretty awesome. It’s like transform: scale(x, y) for backgrounds.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.