From 9f6c2303a08bb9f9fd45d1f107c45862440781fe Mon Sep 17 00:00:00 2001 From: Devin Date: Wed, 23 Oct 2019 17:36:44 -0400 Subject: [PATCH] Converted plain text to a fade-in effect. --- css/style.css | 62 +++++++++++++++++++++++++++++++++++++++++++++++++-- index.html | 6 ++--- 2 files changed, 63 insertions(+), 5 deletions(-) diff --git a/css/style.css b/css/style.css index f89b5a5..f46ee50 100644 --- a/css/style.css +++ b/css/style.css @@ -4,7 +4,7 @@ body { box-sizing: border-box; color: #333333b3; /* background: linear-gradient(to bottom right, #ffded1 0%,#ffded1 50%,#ffc5af 50%,#ffc5af 100%); */ - background-image: linear-gradient(to right, #ffecd2 0%, #fcb69f 100%); + background-image: linear-gradient(to right, #ffecd2 0%, #fcb69f 100%); } html, body { @@ -12,6 +12,65 @@ html, body { margin: 0; } +.fade-in { + animation: fadeIn ease 2s; + -webkit-animation: fadeIn ease 2s; + -moz-animation: fadeIn ease 2s; + -o-animation: fadeIn ease 2s; + -ms-animation: fadeIn ease 2s; +} + + +@keyframes fadeIn{ + 0% { + opacity:0; + } + 100% { + opacity:1; + } +} + +@-moz-keyframes fadeIn { + 0% { + opacity:0; + } + 100% { + opacity:1; + } +} + +@-webkit-keyframes fadeIn { + 0% { + opacity:0; + } + 100% { + opacity:1; + } +} + +@-o-keyframes fadeIn { + 0% { + opacity:0; + } + 100% { + opacity:1; + } +} + +@-ms-keyframes fadeIn { + 0% { + opacity:0; + } + 100% { + opacity:1; + } +} + +.style p { + color:#000; + font-size:25px; +} + a { text-decoration: none; color: #1b6568; @@ -77,4 +136,3 @@ div.grid-item { border-bottom: 3px solid #1b6568; transition-duration: 100ms; } - diff --git a/index.html b/index.html index f5dad46..86bee87 100644 --- a/index.html +++ b/index.html @@ -16,10 +16,10 @@

The Algorithms

-
+

We are an open source community established to help people find all the algorithms and data structures for every popular language at a single place.

-

Explore Algorithms Implementation in the following Programming Languages

+

Explore Algorithms Implementation in the following Programming Languages.

@@ -35,7 +35,7 @@

The Algorithms

- +