- This topic is empty.
-
AuthorPosts
-
June 13, 2014 at 6:28 am #172658
First Things
ParticipantHello dear reader!
I’m bussy with making my own website.
I choose to show a CSS3 flip animation on my homepage.
I used this article for it…
http://davidwalsh.name/css-flip
It took me a long time to let it work in all good browsers (f*** IE). At the end i used the code from the demo – page and i thought everything was okay :-)
But today i find out that in Firefox there is a long horizontal scrollbar showing up. Pfffff. I tried some things but didn’t find the sollution.
Can anyone set me in the right direction and learn me something more about the new CSS3 animations.
Here is the homepage:
http://www.firstthings.beExtra info:
flip-thing-all.css has al the specific code for the flipthing. When i take this code out. The scrollbar dissapears, so i do believe the sollutions should be find in that code…Thanks for reading, and sollutions,…
Kristof
June 13, 2014 at 8:07 am #172663Paulie_D
Member..in Firefox there is a long horizontal scrollbar showing up.
Not in my FF (30) there isn’t.
June 13, 2014 at 8:50 am #172672First Things
ParticipantThanks Paulie_D for the quick response :-)
My version was 29, i updated to 30 and it disappeared.
It’s okay know for me, but others that have tips or solutions for version 29, let me now. Still have the learn a lot about CSS3 animations (like the browsers themself :-p )
Kristof
http://www.firstthings.beJune 14, 2014 at 5:46 am #172748paulob
ParticipantHiding the overflow should solve the problem with any luck.
.flip-container{overflow:hidden}
June 14, 2014 at 6:25 am #172749First Things
ParticipantHello paulob,
Think your solution should do the trick, didn’t think off that… but it makes sense…
Added it just now and everything still works. But my version of firefox is now 30. Will find a solution for checking it.
So thanks a lot for the response Paulob!
Kristof
June 14, 2014 at 6:37 am #172750paulob
ParticipantHi,
Actually I just noticed that the fix I suggested clips the element when it spins so may not be the best solution. Perhaps adding overflow to a parent may be better but you may still get a clip at the bottom of the screen unless you add a little bit of bottom padding.
.vierkantBox{overflow:hidden;padding-bottom:10px}
June 14, 2014 at 7:04 am #172752paulob
ParticipantHi,
Hold that thought :)
I think the error is caused by the text-indent in .subtitle.
.subtitle { width:150px; height:150px; display:block; /*text-indent:-9999px;*/ color:#F9F9F9; text-align:center; font-weight:bold; }
You have text-align:center and text-indent which doesn’t make sense and seems to confuse Firefox 29. I tested locally and removing the text-indent makes the scrollbar go away (testing in Firebug did not give the same results as local testing so I need to see it n place in your site to test fully). (My Firefox version is about to update to 30 (when I restart it) so I’ll only be able to test this for a while.)
June 14, 2014 at 7:51 am #172755First Things
ParticipantHi Paulob,
I tested the first solution ( .vierkantBox{overflow:hidden;padding-bottom:10px} ) but gives the same result.
Now removed the text-indent, hope this will do the trick.
Thanks a lot Paulob!!
KristofJune 14, 2014 at 10:02 am #172756paulob
ParticipantYes that’s now working fine in my Firefox 29 :)
Sorry for the run-a-round.
June 16, 2014 at 1:28 am #172816First Things
ParticipantThanks a lot Paulob!
And no sorry for the run-a-round. From trail and error we learn also ;-)
In other situations i will think faster about the hidden overflow and this will do the trick in some situations.
So big thank you for the support Paulob :-)
Kristof
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.