Skip to content

Instantly share code, notes, and snippets.

View IacovColisnicenco's full-sized avatar
🏠
Working from home

Iacov Colisnicenco IacovColisnicenco

🏠
Working from home
View GitHub Profile
@IacovColisnicenco
IacovColisnicenco / js
Created April 1, 2021 16:21
Вывод слов из 5 символов+
let str = 'Lorem ipsuma is simply dummy loreman';
let arr = str.split (' ');
for (let i = 0; i < arr.length; i++){
if(arr[i].length >= 5) {
console.log(arr[i]);
}
}
body {
font-size: 18px;
font-family: 'Fira Sans', sans-serif;
line-height: 1.5em;
min-height: 100vh;
background-color: #e5e5e5;
}
@IacovColisnicenco
IacovColisnicenco / gist:bb3a800a0a91165f81126325da845db1
Created February 25, 2021 14:15
box-sizing — best practice
html{
box-sizing: border-box;
}
*, *::before, *::after{
box-sizing: inherit;
}