summaryrefslogtreecommitdiff
path: root/posts/multiple-css-background-images.md
diff options
context:
space:
mode:
authorBradley Taunt <brad@bt.ht>2023-11-27 12:25:51 -0500
committerBradley Taunt <brad@bt.ht>2023-11-27 12:25:51 -0500
commit14d227d46a2177a8928333894252d6299f531097 (patch)
treed41d48383d012f53823c9816a820e4e88c572c41 /posts/multiple-css-background-images.md
parentf6eed1a8c2f4fbf91fac9edd11e50f5c0ec939a2 (diff)
Trying to render posts all at once
Diffstat (limited to 'posts/multiple-css-background-images.md')
-rw-r--r--posts/multiple-css-background-images.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/posts/multiple-css-background-images.md b/posts/multiple-css-background-images.md
new file mode 100644
index 0000000..1fd0180
--- /dev/null
+++ b/posts/multiple-css-background-images.md
@@ -0,0 +1,15 @@
+# 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.
+
+Example:
+
+
+ .element {
+ 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.