What's the deal with vertical-align: baseline?
问题 I thought I knew my way around CSS, but I needed to explain something to someone just now and I found I couldn't. My question basically boils down to: why is vertical-align:baseline ignored when there are other alignments in the same line? Example: if the second span has vertical-align:bottom , the first span's vertical alignment is ignored if it is baseline ; it behaves as if it has bottom too. span:first-child {vertical-align:baseline} span:last-child {font-size:3em; vertical-align:bottom;}