Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 70 Pomógł: 0 Dołączył: 10.07.2013 Ostrzeżenie: (0%)
|
Witam mam problem, chciałbym aby tylko obrazek miał zmniejszone krycie natomiast napis również dziedziczy zmniejszone krycie.
Kod .img-height { position: static; display: block; } .img-height:hover { background-color: #fff; opacity: 0.4; padding: 0; margin:0; } .img-container { display: table; width: 100%; height: 100%; padding-top: 10px; padding-bottom: 10px; } .img-text:hover h1 { color: #000; display: inline; display: table-cell; vertical-align: middle; text-transform: uppercase; } .img-8 { background: url(../images/img-8.jpg) no-repeat center center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; height: 400px; } .img-9 { background: url(../images/img-9.jpg) no-repeat center center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; height: 400px; } .img-10 { background: url(../images/img-10.jpg) no-repeat center center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; height: 400px; } .img-text h1{ display:none; } html
mam to (IMG:http://wstaw.org/m/2016/08/10/Bez_nazwy-2.jpg) chce to (IMG:http://wstaw.org/m/2016/08/10/Bez_nazwy-1.jpg) |
|
|
|
matti9410 [HTML][CSS]Przezroczystosc textu problem 10.08.2016, 18:35:08
luki100011 Zobacz jak to jest rozwiązane na przykład tutaj - ... 10.08.2016, 19:02:30
trueblue http://forum.php.pl/index.php?showtopic=251338 10.08.2016, 19:08:09 ![]() ![]() |
|
Aktualny czas: 23.12.2025 - 15:47 |