Comments on: text-align-last https://css-tricks.com Tips, Tricks, and Techniques on using Cascading Style Sheets. Thu, 06 Apr 2017 21:23:56 +0000 hourly 1 https://wordpress.org/?v=6.5.5 By: gcyrillus https://css-tricks.com/almanac/properties/t/text-align-last/#comment-1607869 Thu, 06 Apr 2017 21:23:56 +0000 http://css-tricks.com/?page_id=196786#comment-1607869 In reply to Dragonymous.

If element is displayed as a flex box, then if the first line is also the last, text-align-last seems not to be applied.

From the last codepen of this article , test this: #center h2 {display:flex;} or the forked pen: http://codepen.io/gc-nomade/pen/pemOJR

]]>
By: Dragonymous https://css-tricks.com/almanac/properties/t/text-align-last/#comment-1604289 Mon, 26 Sep 2016 08:34:33 +0000 http://css-tricks.com/?page_id=196786#comment-1604289 If there is only one line of text it is also considered “last,” which might not be what you’d like.

]]>