?
Solved

CSS for Safari only

Posted on 2016-09-12
5
Medium Priority
?
1,394 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
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.…
Suggested Courses
Course of the Month5 days, 3 hours left to enroll

601 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