autoprefixer.github.io | Autoprefixer online — add the desired vendor prefixes | Style Language library
kandi X-RAY | autoprefixer.github.io Summary
kandi X-RAY | autoprefixer.github.io Summary
Online interactive demo of Autoprefixer.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of autoprefixer.github.io
autoprefixer.github.io Key Features
autoprefixer.github.io Examples and Code Snippets
Community Discussions
Trending Discussions on autoprefixer.github.io
QUESTION
This is my first question ever, so I apologize for any inconveniences in advance :)
I've been coding a static website in React using styled-components, and everything looks the way it should EXCEPT for on certain mobile devices. For some reason, almost all divs layers on top of each other, and buttons do not display properly - the worst bit is, that there seems to be no consistency between the broken styling. It works for some (iPhone XS for example) and it doesn't work for others (iPhone 11) - and I have no idea why.
Here are some pictures of how it looks on some mobile devices:
Intended look of first section:
Intended look of first section:
And here are some pictures of how broken it looks on my iPhone 11 for example:
Weird look of first section (the button is collapsed):
Complete mess - all sections collapsed on top of each other:
I've tried all the things I could think of:
I've tried using pure css instead of styled-components
I'm using Gatsby so I've also tried reinstalling gatsby and gatsby-cli and afterwards making a clean project
I've tried deploying a clean react app (no gatsby) with just the
code for the first section (still, the button looks weird)I've tried changing the CSS for the button (just for testing out
where the errors are from before refactoring everything - still, no effect)I've tried deploying through Vercel (instead of Netlify)
I've used https://autoprefixer.github.io to make sure that all my code CSS was supported on different browsers.
None of these attempts changed anything.
I have no clue where to go now. Any Ideas?
For reference, here is the Button component - did I mess something up? (sorry, it's really ugly):
...ANSWER
Answered 2021-Mar-14 at 02:19For future reference, this problem solved by changing some CSS:
- Changed the height to min-height in firstContainer class.
- Remove the height: 100% in the body.
- Changed font-weight from 700 to 600.
- Replace height, width to min-height, min-width depends on the requirements.
- Replace flex: 1 1 0 to width: 50% in children.
QUESTION
The goal is to position the image to the right of it's container using display: flex;
and justify-content: right;
. The following code works fine in chrome and firefox but in all the safari versions I've tested it doesn't.
Things I've tried:
- Checked caniuse which indicated it should work in all versions I've tested.
- Run the css through autoprefixer and added those.
- Tested adding the css inline, with no change.
- Turned styling on and off in the browser dev tools to check: everything works as expected except the flexbox styling in safari.
- Isolated the code to rule out conflicts.
- Tried multiple versions of safari including 9.1.2 (forgot to check actual version number for others but they were updated newer devices running catalina and latest iOS so assuming safari 13.x or 14.x).
Here is the jsfiddle demo code
Here is the html and css source code:
HTML:
...ANSWER
Answered 2020-Sep-21 at 03:35Surely the styling should be justify-content: flex-end to get the content to be aligned to the right.
Note that this will have a different layout if you do flex-direction:column - but for simple layouts - flex-start equates to the start of the row (left in a ltr layout) and flex-end equates to the end (right).
QUESTION
I am currently using Sass in my ExpressJS code and have been able to generate a css file using the following command -
...ANSWER
Answered 2020-Jun-27 at 17:39- At autoprefixer.github.io there is Browserlist setting below textareas saying "last 4 version". This tells Autoprefixer to add prefixes for older browsers. Most probably you don't have
.browserslistrc
in the root of your project or abrowserslist
key in yourpackage.json
that would tell autoprefixer which browsers are you targeting, so it takesdefaults
. browserl.ist would help to visualize that (please comparedefaults
withlast 4 version
to see the difference in coverage). - Create
browserslist
in the root of your project and explicitly indicate the baseline of browsers you are targeting. Here you will find examples on how to construct your queries. Don't worry about source maps - there's nothing you have to do on that side.
Note: Prior to prefix Grid for IE11 (if that's your case), I encourage you to get aquatinted with CSS Grid in IE: CSS Grid and the New Autoprefixer
QUESTION
ANSWER
Answered 2020-Apr-06 at 05:40You can try setting
QUESTION
Attempting to click the left side of the link on the back of this flip card does not work in Chrome. Yet, when I mouse over the right side of the link, I see the pointer cursor and am able to interact with it:
...ANSWER
Answered 2020-Mar-22 at 11:16I don't know the reason but this is most likely a bug because it works on Firefox as intended. Adding pointer-events: none;
to .card-inner
and pointer-events: auto
to .card-face
works, only god knows why.
QUESTION
I implemented this nice little css-based loader I found and then realized it doesn't work on IE (I tried IE11). I thought maybe it needed the vendor specific prefixes, so I tried using an online autoprefixer using 'last 2 versions' as the filter and it adds '-webkit-' prefixes but not the '-ms-' which makes me wonder if there something wrong with the way the css code is written that makes the '-ms-' prefixes not show up. I tried manually replacing the '-webkit-' with '-ms-' but it still doesn't work on IE.
What is preventing this from working on IE? Does the vendor prefixing have anything to do with it or not?
I haven't tried on any browser other than Chrome and IE at this point but would like to make it work on all major browsers last 2 versions if that is reasonable.
Original CSS - works great on Chrome but not on IE:
...ANSWER
Answered 2019-Jul-05 at 02:49Perhaps try removing the running
values from your animation
properties. This makes the animation work for me in IE11.
I see that there's some discussion of this issue here:
"CSS3 animation is not working in IE11 but works in other browsers"
QUESTION
Basically, I have finished the CSS for a site at work, but I've never used a prefixer before.
Can I just stick the whole lot (about 900 lines) through an online prefixer E.G. https://autoprefixer.github.io/ ?
Or will this cause issues?
Would I be better using something built into VS Code or using some sort of processor?
Thanks.
P.S. I did look for another question/answer similar to this, but couldn't find a definitive answer.
...ANSWER
Answered 2018-Oct-15 at 10:57If you are working on chrome and have compleated your project that is totally fine. You can use the auto prefixer without any hesitation. You just need to copy and paste the code then you need to copy the auto prefixed code and paste in your code editor. In rare cases, some of your properties may not work in the other browsers (as I said very rare properties) but that will not affect your existing code I can guarantee that.
Just go through this to know about the existing and deprecated CSS properties. Can I Use
QUESTION
This all works perfectly in Chrome on my MBP, but breaks endlessly on the other browsers. I have used, https://autoprefixer.github.io/ to generate the necessary prefixes but to no avail.
Maybe someone can spot where I am going wrong? I striped the prefixed code out because I don't know what is affecting what now, so it's a bit of a blank slate... Heres the code and associated screenshots
Code is modified because of so many diff nested div's in here. Order will be parent > child etc..
...ANSWER
Answered 2018-Feb-12 at 23:08Ended up just needing to add the old syntax, I basically just found every old syntax possible and threw them in there until it worked...
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install autoprefixer.github.io
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page