opt-cc/static/src/app/global.helpers.ts

10 lines
279 B
TypeScript
Raw Normal View History

2018-01-21 11:38:54 +01:00
export const CSSHelpers = {
getBackgroundCSS: (imageUrl) => {
return 'background-image: url(' + imageUrl + ');' +
'background-size: cover;' +
'background-attachment: fixed;' +
'background-position: center;' +
'background-repeat: no-repeat;';
}
};