From dcfb172704f3afb68a30425029ec834be2883274 Mon Sep 17 00:00:00 2001 From: bt Date: Sat, 8 Jun 2024 13:22:19 -0400 Subject: More content porting, on-going markdown changes for lowdown support --- build/multiple-css-background-images/index.html | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'build/multiple-css-background-images/index.html') diff --git a/build/multiple-css-background-images/index.html b/build/multiple-css-background-images/index.html index fcf7539..5c1e47a 100644 --- a/build/multiple-css-background-images/index.html +++ b/build/multiple-css-background-images/index.html @@ -1,28 +1,34 @@ - + Using Multiple CSS Background Images - - + + +
-

Using Multiple CSS Background Images

+

Using Multiple CSS Background Images

+

2018-09-28

-

It isn't something developers have a need to do very often, but you can set multiple background images on a single element.

+ +

It isn’t something developers have a need to do very often, but you can set multiple background images on a single element.

+

Example:

+
.element {
-    background: url('image_path') center repeat, linear-gradient(transparent 0%, #000 100%) no-repeat;
+    background: url('image_path') center repeat, linear-gradient(transparent 0%, #000 100%) no-repeat;
 }
 
-

What can you do with this? It's only limited by your imagination, but I'm personally a fan of always using as few elements as possible when working on a project.

+ +

What can you do with this? It’s only limited by your imagination, but I’m personally a fan of always using as few elements as possible when working on a project.