Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
390 lines (289 sloc) 13 KB
title nointro
Sensor Introduction

Gas
Barometer
Accelerometer

Temperature
Light
Health

Sound
Distance
Others

<style> .title{ font-size:22px; text-indent:20px; float:left; line-height:66px } .method1{ text-align:center; float:left; } /*vertical-align:middle 是依赖div内子元素最高的行高来实现对某元素居中的,而我们只需要建立一个新元素,给他加上inline-block属性 再把他高度设置为100%就行了,在下面的

设置vertical-align就生效了*/ .tiptop{ height:100%; display:inline-block; vertical-align:middle; } img{ vertical-align:middle; } .links{ line-height:7px; font-size:13px; text-align:center; } </style>

All Grove List