From da5a8db41f471301d0114172b5411ddef1cf54eb Mon Sep 17 00:00:00 2001 From: Pierre Date: Fri, 14 Oct 2022 11:08:26 +0200 Subject: [PATCH] css palidrome --- brythonRunner/css/all.css | 16 +++++++++++++++- brythonRunner/page/palindrome.html | 8 ++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/brythonRunner/css/all.css b/brythonRunner/css/all.css index 2c2f9df0..7284f041 100644 --- a/brythonRunner/css/all.css +++ b/brythonRunner/css/all.css @@ -1,3 +1,17 @@ .hidden{ visibility: hidden; -} \ No newline at end of file +} + +body{ + display: flex; + flex-direction: row; + flex-wrap: nowrap; + justify-content: space-around; + align-items: stretch; +} + + +div{ + height: 250px; + width: 250px; +} \ No newline at end of file diff --git a/brythonRunner/page/palindrome.html b/brythonRunner/page/palindrome.html index 8066a4db..e14a20e1 100644 --- a/brythonRunner/page/palindrome.html +++ b/brythonRunner/page/palindrome.html @@ -9,17 +9,17 @@
-

+

Écrire une fonction estPalindrome qui prend en argument un entier et qui renvoie True si c’est un palindrome et False sinon. -

+

- +

def estPalindrome(var):