JimmyLv / JimmyLv/reading

Flexbox完美解决CSS垂直居中

Open
#3,346 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
26
Forks
2
PR merge metrics
No merged PRs in 30d

Description

## Flexbox完美解决CSS垂直居中

44年前我们就把人类送上月球了,但现在我们仍然无法在CSS中实现垂直居中。 在CSS中对元素进行 水平居中 是非常简单的:如果它是一个行内元素,就对它的父元素应用 text-align: center ;如果它是一个块级元素,就对它自身应用 margin: auto 。然而如果要对一个元素进行 垂直居中…



July 12, 2018 at 01:31PM

via Instapaper https://www.jianshu.com/p/913f8dff1388

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue is a saved reading link about using Flexbox for CSS vertical centering, with no repository file, test, or requested project change identified. Start by reviewing the linked article and repository contribution guidance; there is no stated completion criterion or implementation location in this issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
content
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.