Welcome toVigges Developer Community-Open, Learning,Share
Login
Remember
Register
Ask
Q&A
All Activity
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Categories
All categories
Topic[话题] (13)
Life[生活] (4)
Technique[技术] (2.1m)
Idea[创意] (3)
Jobs[工作] (2)
Others[杂七杂八] (18)
Code Example[编程示例] (0)
纯css实现列表元素宽度、间隔自适应
0
votes
3.8k
views
asked
Jan 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
纯css实现列表元素宽度、间隔自适应
如图,怎么使用css实现以下效果:
每个子元素宽度、元素间间隔存在最大、最小值
每行元素从左往右排列
每行元素总宽度足够时,则左右靠边,拉伸收缩元素间间隔
减小/增大容器宽度到一定程度,每行元素减少/增加一个,但左右仍靠边
兼容ie11及以上
不使用媒体查询(需兼容的分辨率跨度大,元素宽度最大值小)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 24, 2021
by
深蓝
(
71.8m
points)
flex 不行吗?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Please
log in
or
register
to add a comment.
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
Just Browsing Browsing
[1] Tibco Rv如何实现主备机制?即在链接时判断,在运行过程中切换
[2] wordpress - How to use value from a custom form tag
[3] swift - How to create a NavigationLink or Button from a shape in SwiftUI that is only triggered by tapping on the shape but not its frame
[4] preg match all - Using PHP to get initials of names with 4 letters of last name
[5] 在php-fpm环境中,为什么不建议使用mysql长连接,而却允许redis长连接
[6] PhpStorm HTTP client. Unable to pass POST params to localhost
[7] 大数据分析和数据挖掘分析有啥区别
[8] mongodb副本集两地架构高可用问题
[9] sql - sum the contents of a delimted column in an oracle table column
[10] OAuth2 不安全设想
2.1m
questions
2.1m
answers
63
comments
56.6k
users
Most popular tags
javascript
python
c#
java
How
android
c++
php
ios
html
sql
r
c
node.js
.net
iphone
asp.net
css
reactjs
jquery
ruby
What
Android
objective
mysql
linux
Is
git
Python
windows
Why
regex
angular
swift
amazon
excel
algorithm
macos
Java
visual
how
bash
Can
multithreading
PHP
Using
scala
angularjs
typescript
apache
spring
performance
postgresql
database
flutter
json
rust
arrays
C#
dart
vba
django
wpf
xml
vue.js
In
go
Get
google
jQuery
xcode
jsf
http
Google
mongodb
string
shell
oop
powershell
SQL
C++
security
assembly
docker
Javascript
Android:
Does
haskell
Convert
azure
debugging
delphi
vb.net
Spring
datetime
pandas
oracle
math
Django
联盟问答网站-Union QA website
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
广告位招租
...