• When trying to add the following to the media attribute setting:
    only screen and (max-width: 768px)

    The following is the resultant, broken html:

    <link  rel="preload" as="image" type="image/webp" media="onlyscreenand(max-width:768px)">

    Even if i simplify it to:
    max-width: 768px

    I get this and it still triggers on desktop:

    <link  rel="preload" as="image" type="image/webp" media="max-width:768px">

    So something is broken. Any suggestions?

  • You must be logged in to reply to this topic.