- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Here is the fiddle: http://jsfiddle.net/sg0va9y1/2/
My main problem is this one:
.input-date:focus ~ .label-placeholder {
transform:translate(-50%, 65%);
-webkit-transform:translate(-50%, 65%);
-moz-transform:translate(-50%, 65%);
transition:transform 0.4s;
-webkit-transition:transform 0.4s;
-moz-transition: transform 0.4s;
}
This works in Chrome just fine, but not in safari.
Any help will be much appreciated.
Which version of Safari?
Version 8.0.7 (10600.7.12)
Ah…can’t help you there as I’m on Windows.
One think though…you might want to have the unprefixed versions of the properies last…it’s considered best practice.
OK, I solved it:
It’s really silly – Instead of writing it like this (shorthand)
-webkit-transition:transform 0.4s;
You write it like so:
-webkit-transition-property: transform;
-webkit-transition-duration: 0.4s;