Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CSS for Safari only

Posted on 2016-09-12
5
Medium Priority
?
902 Views
Last Modified: 2016-09-17
Hi, Experts

In this example, the logo stays at bottom and move when resizing the browser. It works on FF and Chrome but not safari. Is there Safari hack I can use ? Please see example here https://jsfiddle.net/codebynature/jdLe70f0/

Thanks for advises
0
Comment
Question by:Brian Lin
5 Comments
 
LVL 2

Assisted Solution

by:Dillyn Barber
Dillyn Barber earned 500 total points
ID: 41795284
0
 
LVL 22

Accepted Solution

by:
Kim Walker earned 1000 total points
ID: 41795344
Have you tried including a -webkit-transform in your @-webkit_keyframes?

This is beside the point but opacity is expressed in values between 0.0 and 1.0 with 1.0 = 100% opacity. See line 10 of your jsfiddle.
0
 
LVL 43

Assisted Solution

by:David S.
David S. earned 500 total points
ID: 41795379
0
 

Author Comment

by:Brian Lin
ID: 41795559
Thanks everyone i also added this hack here at http://stackoverflow.com/questions/16348489/is-there-a-css-hack-for-safari-only-not-chrome and seems like it is working
0
 
LVL 43

Expert Comment

by:David S.
ID: 41803383
Which hack? There are several on that page.

You shouldn't need a hack just to use vendor-prefixed properties in your styles.

CSS Hacks should be used with caution (except, perhaps, ones that are only for old versions of IE) as their use can cause things to break in future versions of browsers.
1

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question