From 12333cfe65d274241d791e42eef76a3f72af2acf Mon Sep 17 00:00:00 2001 From: ilyakooo0 Date: Sat, 26 Apr 2014 02:59:03 +0400 Subject: [PATCH] Added a css button instead of an image button --- index.html | 2 +- style.css | 20 +++++++++++++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 61fcd6b..74150d2 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@

При нажатии кнопки ниже всплывет окно с наугад выбранным округом, краем или республикой. Окна будут продолжать всплывать пока не будет нажата кнопка "Отменить".

-
+
Начать
Другие Сайты
diff --git a/style.css b/style.css index 4f5b9dc..423dc3b 100644 --- a/style.css +++ b/style.css @@ -17,15 +17,13 @@ a:hover { display: block; margin-right: auto; margin-left: auto; - background-image: url("fin.png"); - background-size: 448px 256px; - background-position: bottom; cursor: pointer; border-radius: 64px; + background-color: #00d1fb; } #button:hover { - background-position: top; + background-color: #62defd; } #text { @@ -82,4 +80,16 @@ p{ text-align: center; font-family: helvetica; font-size: 40px; -} \ No newline at end of file +} + +#butttext { + color: white; + text-align: center; + font-family: helvetica; + font-weight: bold; + font-size: 90px; + height: 128px; + line-height: 128px; + margin-top: auto; + margin-bottom: auto; +}