how to add phone design in css code example
Example: js dom for mobile
if($(window).width() >= 770)
{
$("#front_items").css(
{
'margin-top': '-5px',
'margin-left': '20px'
});
var textWidth = ($("#carousel").width() - 70) / 3;
$(".front_column").css(
{
'width': textWidth + 'px',
'margin-bottom': '0'
});
}
else
{
$("#front_items").css(
{
'margin-top': '0',
'margin-left': '0'
});
textWidth = $("#carousel").width() + 20;
$(".front_column").css(
{
'width': textWidth + 'px',
'margin-bottom': '5px'
});
}