【问题标题】:Why can't PHP take Malayalam font?为什么 PHP 不能采用马拉雅拉姆字体?
【发布时间】:2017-05-23 09:06:33
【问题描述】:

标签: javascript php codeigniter codeigniter-2 codeigniter-3


【解决方案1】:

在标题部分添加此样式表

<link href="https://fonts.googleapis.com/css?family=Baloo+Chettan" rel="stylesheet">

在您的样式表中

.malayalamfont{font-family: 'Baloo Chettan', cursive;font-size: 15px;}

在你的视图页面(html部分)

<p class="malayalamfont">your text</p>

【讨论】:

    猜你喜欢
    • 2017-06-27
    • 2012-04-19
    • 2022-07-28
    • 1970-01-01
    • 2014-04-25
    • 2012-07-21
    • 1970-01-01
    • 1970-01-01
    • 2013-10-31
    相关资源
    最近更新 更多