From 8afa46ca9146fd30c409dc646e1ff6ee9dd685de Mon Sep 17 00:00:00 2001 From: keshav sethi Date: Sun, 19 Jan 2020 04:05:44 +0530 Subject: [PATCH] sticky button --- examples/demo.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/demo.css b/examples/demo.css index 9bc29cea..21b3980e 100644 --- a/examples/demo.css +++ b/examples/demo.css @@ -43,12 +43,12 @@ h1, h2, .section h3 { line-height: 40px; overflow: hidden; z-index: 999; - display: none; + display: inline-block; cursor: pointer; transform: rotate(270deg); - position: fixed; + position: sticky; bottom: 50px; - right: 10px; + left:100vw; background-color: #DDD; color: #555; text-align: center;