Add Device Type to Body Class For WordPress

Add Device Specific CSS in WordPress

During website development, many times we need to add CSS or Javascript to any particular device type i.e Mobile, Tablet or Desktop. Need: Let say you need to apply CSS to a div but only in Mobile devices, so at that time we can either…