I need to get the screen size and then compare it inside html tags..
Is there any way to do something like below?
@if(screen.width<1366)
{
}
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Manas MohapatraRank #182 · 13.2K reputationPosted Aug 9, 2015, 5:09 AM EDT
Shibly Sadik154 reputationPosted Aug 9, 2015, 6:17 AM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Aug 9, 2015, 10:21 AM EDT
Nigel FernandesRank #753 · 3.1K reputationPosted Apr 17, 2017, 6:48 PM EDT