How do i rotate text in css

后端 未结 5 676
野性不改
野性不改 2020-11-30 05:39

How do i rotate text in css to get following output...

\"enterhi,

Edit:

<
5条回答
  •  情书的邮戳
    2020-11-30 05:49

    I guess this is what you are looking for?

    Added an example:

    The html:

    31 July 2009

    The css:

    .year
    {
        display:block;
        -webkit-transform: rotate(-90deg); 
        -moz-transform: rotate(-90deg); 
        filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); //For IE support
    }
    

    Alle examples are from the mentioned site.

提交回复
热议问题