在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:jonathantneal/flexibility开源软件地址:https://github.com/jonathantneal/flexibility开源编程语言:JavaScript 65.6%开源软件介绍:flexibility
Flexibility is a polyfill for the Flexible Box Layout, commonly known as Flexbox. With Flexibility, you get to design beautiful, flexible layouts on the web without sacrificing the experience in older browsers. Flexbox lays out, aligns, and distributes elements in a container, even when their size is unknown or dynamic. To better understand Flexbox, read Chris Coyier’s excellent Complete Guide to Flexbox. To start using Flexbox in Internet Explorer 8 & 9 or any older browser, download the flexibility.js script and include it anywhere on your page. <script src="flexibility.js"></script> If you’re only targeting Internet Explorer 10 and lower, add a
.container {
-js-display: flex;
display: flex;
} If you’re targeting other browsers, use the <div data-style="display: flex;"></div> When you’re ready to polyfill flexbox with JavaScript, use the flexibility(document.documentElement); APIThe global
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论