localStorage.setItem( 'name', value ); // пишите что хотите
localStorage.getItem( 'name' ); // читайте
localStorage.setItem( 'name', JSON.stringify( object )); // пишите в т.ч. объект
let object = JSON.parse( localStorage.getItem( 'name' ) ); // читайте в т.ч. объект
$('a1').on('click', product);
Как именно?
html{
--footer-height : 50px; /* высота футера*/
}
body{
position:relative;
padding-bottom: var( --footer-height );
}
footer{
position: absolute;
bottom: 0;
min-height: var( --footer-height );
}
&__item{
padding: 20px 13px 0px 13px;
border-top: 12px solid transparent; /* бордюр есть всегда, но прозрачный*/
&:hover{
border-top-color: red;
}
}