Skip to content

Commit

Permalink
Added .bg-cover and .bg-center utility classes
Browse files Browse the repository at this point in the history
Co-Authored-By: Sebastiano Guerriero <sebastiano-guerriero@users.noreply.github.com>
  • Loading branch information
claudia-romano and sebastiano-guerriero committed Dec 17, 2019
1 parent 5810484 commit 69ce8d1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions main/assets/css/base/_util.scss
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,9 @@ $media-wrapper-aspect-ratios: (
.bg-opacity-80\% { --bg-o: 0.8; }
.bg-opacity-90\% { --bg-o: 0.9; }

.bg-cover { background-size: cover; }
.bg-center { background-position: center; }

// --------------------------------

// Object Fit
Expand Down
2 changes: 1 addition & 1 deletion main/assets/css/style-fallback.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion main/assets/css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codyhouse-framework",
"version": "2.2.3",
"version": "2.2.4",
"description": "A lightweight front-end framework for building accessible, bespoke interfaces.",
"main": "index.js",
"keywords": [
Expand Down

0 comments on commit 69ce8d1

Please sign in to comment.