Skip to content

Instantly share code, notes, and snippets.

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

Roman Y iooe

🏠
Working from home
View GitHub Profile
styleBackground: function () {
let color = this.item.poster.color;
return 'linear-gradient(145deg, ' + color + ' 0%, ' + color.replace(/.$/, ",0.65)") + ' 60%, ' + color.replace(/.$/, ",0.2)") + ' 100%)'
}
@iooe
iooe / responsive-semantic-ui.css
Created April 2, 2018 17:38 — forked from bl4ck5un/responsive-semantic-ui.css
Responsive helpers (mobile-only etc.) for semantic-ui
/* Semantic UI has these classes, however they're only applicable to*/
/* grids, containers, rows and columns.*/
/* plus, there isn't any `mobile hidden`, `X hidden` class.*/
/* this snippet is using the same class names and same approach*/
/* plus a bit more but to all elements.*/
/* see https://github.com/Semantic-Org/Semantic-UI/issues/1114*/
/* Mobile */
@media only screen and (max-width: 767px) {
[class*="mobile hidden"],