Media Query-like behaviour on width of a specific div

前端 未结 2 773
深忆病人
深忆病人 2021-01-04 10:43

I\'m building an editor where the content of a post is loaded in a div, and jQuery selectors allow me to edit the content inline.

I just ran into a bit of a hurdle a

2条回答
  •  春和景丽
    2021-01-04 11:46

    Unfortunately there is not currently a way for a media query to target a div. Media queries can only target the screen, meaning the browser window, mobile device screen, TV screen, etc...

提交回复
热议问题