![]() |
![]() |
![]()
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) |
|
|
![]() ![]() |
![]() |
Aktualny czas: 28.09.2025 - 03:10 |