点击运行
display 属性
display: inline
Shanghai is one of the four direct-administered municipalities of
the People's Republic of China
. Welcome to
Shanghai
!
display: inline-block
Shanghai is one of the four direct-administered municipalities of
the People's Republic of China
. Welcome to
Shanghai
!
display: block
Shanghai is one of the four direct-administered municipalities of
the People's Republic of China
. Welcome to
Shanghai
!
运行结果