html结点 垂直居中_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:48:30
Original
896 people have browsed it

为了实现上面右侧文字的垂直居中,尝试了多种方法,但苦于父容器不定高,因此多种方案都被否定,最后求助于高手后,找到如下解决方案:

.container{

display:flex;

flex-direction:row;

align-items:center;

}


韩红:今年两个提案中一个就关于雾霾


24小时热点

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!