summaryrefslogtreecommitdiff
path: root/css-gradient/css
diff options
context:
space:
mode:
authors1n <[email protected]>2020-03-04 01:58:07 -0800
committerGitHub <[email protected]>2020-03-04 01:58:07 -0800
commitb1df5a6c1cd87016797a0582875ad6bd315010ff (patch)
treecd3f6aadf7568819a70c7661f4d1d3ad63fe2d07 /css-gradient/css
downloadhtml-examples-b1df5a6c1cd87016797a0582875ad6bd315010ff.tar.xz
html-examples-b1df5a6c1cd87016797a0582875ad6bd315010ff.zip
Diffstat (limited to 'css-gradient/css')
-rw-r--r--css-gradient/css/main.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/css-gradient/css/main.css b/css-gradient/css/main.css
new file mode 100644
index 0000000..894ddd2
--- /dev/null
+++ b/css-gradient/css/main.css
@@ -0,0 +1,5 @@
+body {
+ background-image: linear-gradient(to bottom right, #ff9eaa 0% 65%, #e860ff 95% 100%);
+ background-position: center; /* You can remove this, but atm it changes the colour to a blue-ish gradient. */
+ background-attachment: fixed;
+}