From 61d871e99eedece480788f62b4f200695cf77af7 Mon Sep 17 00:00:00 2001 From: Francisco P Date: Tue, 27 Apr 2021 20:37:23 -0300 Subject: [PATCH] Hechas las bases del CSS --- index.html | 11 ++++++----- styles.css | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index b23d84c..ebe5753 100644 --- a/index.html +++ b/index.html @@ -5,13 +5,14 @@ Formulario + -
- - - - + + + + +
\ No newline at end of file diff --git a/styles.css b/styles.css index e69de29..fb69e40 100644 --- a/styles.css +++ b/styles.css @@ -0,0 +1,32 @@ +.form { + display: grid; + grid-template-columns: 200px 200px 200px; + grid-template-rows: repeat(200px 4 0px); + width: 400px; + height: auto; + margin: auto; +} + +.name { + grid-column: 1/3; + background-color: #0e93ff99; + border: 1px solid #0e93ff; + height: 30px; +} + +.email { + grid-column: 1/3; + background-color: #fffb0e99; + border: 1px solid #c7c400; + height: 30px; +} + +.message { + grid-column: 1/3; + background-color: #ff0e0e99; + border: 1px solid #ff0e0e; +} + +.submit { + grid-column: 1/3; +}