From 3f9a04fd35e8af14596615c2c7b1019a8e15aaea Mon Sep 17 00:00:00 2001 From: somenath1435 Date: Mon, 9 Dec 2019 01:55:09 +0530 Subject: [PATCH 1/2] Sticky Button --- examples/demo.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/demo.css b/examples/demo.css index 9d9cb250..f2c4c98b 100644 --- a/examples/demo.css +++ b/examples/demo.css @@ -46,7 +46,8 @@ h1, h2, .section h3 { display: none; cursor: pointer; transform: rotate(270deg); - position: fixed; + position: sticky; + margin-left: auto; bottom: 50px; right: 10px; background-color: #DDD; From da861e6927f3cbbf43fd41122f3447e78318007f Mon Sep 17 00:00:00 2001 From: somenath1435 Date: Sat, 11 Jan 2020 03:55:21 +0530 Subject: [PATCH 2/2] Pushed button to right --- examples/demo.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/demo.css b/examples/demo.css index f2c4c98b..a2b15b99 100644 --- a/examples/demo.css +++ b/examples/demo.css @@ -48,8 +48,8 @@ h1, h2, .section h3 { transform: rotate(270deg); position: sticky; margin-left: auto; + margin-right: -50px; bottom: 50px; - right: 10px; background-color: #DDD; color: #555; text-align: center;