From b1df5a6c1cd87016797a0582875ad6bd315010ff Mon Sep 17 00:00:00 2001 From: s1n <50817549+8cy@users.noreply.github.com> Date: Wed, 4 Mar 2020 01:58:07 -0800 Subject: int --- css-gradient/css/main.css | 5 +++++ css-gradient/index.html | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 css-gradient/css/main.css create mode 100644 css-gradient/index.html (limited to 'css-gradient') 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; +} diff --git a/css-gradient/index.html b/css-gradient/index.html new file mode 100644 index 0000000..0a1a917 --- /dev/null +++ b/css-gradient/index.html @@ -0,0 +1,16 @@ + + + +
+ + + +