Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

CSS Scale Transition

Hi, I'm using Bootstrap to do a website. So I have 3 icons and I'm using the scale property on - the 1st one scales fine (to the desired top right) the 2nd one scales top right but not right enough and the 3rd scales to the bottom right. I want the 2nd and 3rd scaling like the 1st.

The code is below:

<ul class="skills-nav nav-tabs tpl-alt-tabs font-alt pt-30 pt-sm-0 pb-30 pb-sm-0" style="text-align: left;">

/*** 1st one ***/

   <li class="active" style="padding-left: 170px; color: white;">
        <div class="alt-tabs-icon" style="transition-delay: 0.6s; transform-origin: -30% 100%;">
             <i class="fa fa-code" aria-hidden="true"></i>

               <div class="html-white"> 
               HTML 
               </div> 
         </div> 
    </li>

<ul class="skills-nav nav-tabs tpl-alt-tabs font-alt pt-30 pt-sm-0 pb-30 pb-sm-0" style="text-align: left;">

/*** 2nd one ***/

    <li class="active" style="padding-left: 260px; color: white;">
        <div class="alt-tabs-icon" style="transition-delay: 0.6s; transform-origin: 0% 100%; tr">
            <i class="fa fa-css3" aria-hidden="true"></i>

             <div class="css-white"> 
              CSS 
              </div> 
         </div> 
    </li>

/*** 3rd one ***/

<li class="active" style="padding-left: 280px; width: 270px; color: white;">
     <div class="alt-tabs-icon" style="padding-left: 30px; width: 80px; height: 40px; margin-
     bottom: 40px; transition-delay: 0.6s; transform-origin: 0% 100%;">
          <img src="images/js.png" style="margin-left: 30px;" alt="">

          <div class="javascript-white">
           JAVASCRIPT
           </div>
      </div>
    </li>
  </ul>
</div>

Any suggestions please...?

Thanks Brady