cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <?xml version="1.0" encoding="utf-8"?>
<svg  width="300" height="200" viewBox="0 0 300 200" xmlns="http://www.w3.org/2000/svg">

  <rect width="100%" height="100%" fill="lightskyblue"/>
  
  //文字を太くする //font-weight="bold"
  <text x="0" y="20" font-size="20px" font-weight="bold">x:0 y:20</text>
</svg>

            
          
!
            
              for html
------------------

//フォント
font-family

//サイズ
font-size

//カラー
fill

//透明度
fill-opacity

//斜め、イタリック
font-style //normal italic oblique

//太さ
font-weight //normal lighter bold bolder 100-900 

//幅
font-stretch

//始点
text-anchor

//配置
x,y

//角度
rotate(,,)

//枠線
stroke
stroke-width

//下線
underline
underline-position
underline-thickness

//取り消し線
strikethrough
strikethrough-position
strikethrough-thickness

//上線
overline
overline-position
overline-thickness

//文字数
textLength
lengthAdjust

//文字間隔
kerning

//単語間隔
word-spacing

//文字区切りで指定
&lt;tspan&gt;&lt;/tspan&gt;

//その他
tref xlink:href
textPath xlink:href


            
          
!
999px
Loading ..................

Console