Preview:
var wd = screen.width; console.log(wd);
if (wd > 767) {



} else {
console.log('mobile else');

jQuery(document).ready(function($) {
$(".tabs li span").on("click", function() {
if ($(this).hasClass("active")) {
$(this).removeClass("active");
$(this)
.siblings(".content")
.slideUp(200);
$(".tabs li span")
.removeClass("fa-minus")
.addClass("fa-plus");
} else {
$(".tabs li span")
.removeClass("fa-minus")
.addClass("fa-plus");
$(this)
.find("i")
.removeClass("fa-plus")
.addClass("fa-minus");
$(".tabs li span").removeClass("active");
$(this).addClass("active");
$(".content").slideUp(200);
$(this)
.siblings(".content")
.slideDown(200);
}
});
});


};
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter