Jump to content

Recommended Posts

Posted

Buna ziua. Am adaugat efecte pentru un logo si m-am ivit de o problema cu un spatiu gol in header.

Imagine: LCPm5NJ.png

 

Mentionez ca imaginile nu au dimensiune mare.

Cod logo din globaltemplate:

 <div id="branding">
                          <br>
                          <center>
                        <a href="http://4g4ming.ro/">
                         <div class="logospace">
                        <img class="logoinit" src="http://i.imgur.com/x5GyfXi.png"><br> <img class="siderstxt"                         style="margin-top: -15px;" src="http://i.imgur.com/jXUWu9f.png">
                         </div>
                        </a>
                          </center> 

Cod Logo din style_css:

 .logospace{
cursor:pointer;
width:400px;
overflow:hidden;
}
.logoinit{
pointer-events:none;
transition:all 0.6s cubic-bezier(0.22,0.42,0.63,1.46)
;}
.logospace:hover>
.logoinit{transform:scale(0.69) rotateY(360deg)}
.siderstxt{pointer-events:none;
transform:translate(0px,300px);
opacity:0;
transition:all 0.4s;
}
.logospace:hover>
.siderstxt{transform:translate(0px,-20px);
opacity:1;
} 

 

APP: A, urmat pasii exact asa cum sunt.

Altele: Dimensiune banner(branding) este de 200px

  • Moderators
Posted

Poate a luat inaltimea automat la:

.logospace {
   cursor: pointer;
   width: 400px;
   overflow: hidden;
}

Ca fiind 400px si de aia ti-a pus spatiul acela.

Daca nu, randu acesta iaras are sanse:

transform:translate(0px,300px);

 

  • Upvote 1

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.