I run into a situation where using the display: -webkit-box;
fixes an issue for me, when no other display property did.
So I wonder if I can use it and if it's supported for all browsers: saffari, opera, Firefox,chrome..
Asked
Active
Viewed 3,906 times
1

Temani Afif
- 245,468
- 26
- 309
- 415

AWIXOR
- 406
- 4
- 15
-
1https://stackoverflow.com/a/13924997/8620333 – Temani Afif Nov 28 '22 at 20:56
-
I got here by searching for this property due to a project where I used -webkit-box back in around 2012 or something, by that time, a lot of CSS3 and HTML5 stuff was basically experimental, and a lot of features used browser prefixes such was "webkit" or "moz" due to browsers having slightly different implementations. I believe this is equivalent to display: flex (or has evolved into it), but I realized I don't need to confirm it for my project, whatever the case is, I don't think this should be used in modern code. – Eduardo Wada Jul 25 '23 at 19:52
-
For some reason it's different from the other display properties. In my case I solved my problem using another medthos. Anyways thanks – AWIXOR Jul 28 '23 at 14:13
1 Answers
3
I believe display: -webkit-box;
is an old flexbox syntax and is no longer used.
This is a great website if you ever have questions on browser support. Can I use...
The link shows the results for display: -webkit-box;
. Hope this helps!

FreddyNoNose
- 320
- 1
- 14
-
1Thank you for sharing the website, I think the result shown is for `-webkit-box-reflect` for some reason there is so little information on the internet about this property, even on MDN – AWIXOR Dec 13 '22 at 12:24
-
I agree. I couldn't find much on the property which was strange. Hope this helped though! – FreddyNoNose Dec 13 '22 at 14:02
-