特定のワードの背景色を変える

Last-modified: 2018-03-02 (金) 11:37:11

※正式な方法ではないので自己責任で

  • 特定のワードだけ背景色を変更したい場合、他鯖で使われて来たhtmlの一般的なbackgroundタグは反映されない模様。
    また、デフォルト(吹き出し)の画面デザインを選択している場合は吹き出し内の色も変更する必要がある。

変更の仕方

下記を配色変更したいワードに入力する。
<style>以降はスペースや改行等入れると反映されないためコピペ推薦

回答
<style>body{background-color:gray !important;}.arrow_box{background-color:red !important;}.user_balloon{background-color:yellow !important;}.arrow_box_answer{background-color:red !important;}.arrow_box_conv{background-color:yellow !important;}</style>

babyaisaloon_5a71b19bde8bb_382_851-1.jpeg

改行して整理すると↓
所定の場所に色名若しくは#カラーコードを入れる

<style>body{background-color:#全体の背景色 !important;}
.arrow_box{background-color:#PCから見た時の回答の吹き出しの背景色 !important;}
.user_balloon{background-color:#PCから見た時の質問の吹き出しの背景色 !important;}
.arrow_box_answer{background-color:#スマホから見た時の回答の吹き出しの背景色 !important;}
.arrow_box_conv{background-color:#スマホから見た時の質問の吹き出しの背景色 !important;}</style>

結果

media-20180226 (1).png