Skip to content

gradation.rb

TADA Tadashi edited this page Nov 10, 2017 · 2 revisions

概要

文字列をグラデーション表示するプラグインです。

使い方

<%=gradation('str','first_color','last_color')%>
str:         グラデーション表示したい文字列
first_color: 16進 6桁で指定したグラデーション開始色(例: FF0000(赤))
last_color:  16進 6桁で指定したグラデーション終了色(例: 0000FF(青))

備考

[セキュア可]

その他

Clone this wiki locally