From 0ccfe9bd36db4a898eec7dbc4043a34cd04f3318 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Merlin=20G=C3=A9linas?= <2133206@etu.cegepsth.qc.ca>
Date: Tue, 7 Jun 2022 20:47:33 -0400
Subject: [PATCH] Ajout des classes de gradients
---
CSS/Main.css | 12 +++++++-----
Views/footer.html | 1 +
Views/header.html | 10 ++++++++++
index.html | 4 +++-
4 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/CSS/Main.css b/CSS/Main.css
index 977fe54..e748d84 100644
--- a/CSS/Main.css
+++ b/CSS/Main.css
@@ -9,9 +9,11 @@ body{
font-family: JetBrains_Mono;
}
-header{
- background-image: linear-gradient(to right, #2c3e50, #4CAF50);
+.GradientBorder{
+ border: 5px solid;
+ border-image: linear-gradient(45deg, purple, orange) 1;
+ border-radius: 10px;
+}
+.GradientBackground{
+ background-image: linear-gradient(45deg, purple, orange) 1;
}
-footer{
- background-image: linear-gradient(to left, #2c3e50, #4CAF50);
-}
\ No newline at end of file
diff --git a/Views/footer.html b/Views/footer.html
index e69de29..ae2d4ad 100644
--- a/Views/footer.html
+++ b/Views/footer.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/Views/header.html b/Views/header.html
index e69de29..37c703b 100644
--- a/Views/header.html
+++ b/Views/header.html
@@ -0,0 +1,10 @@
+
Test
+