
內容簡介
這是一個Elementor小工具,讓您可以將SVG檔案作為標記(markup)添加,而不是使用html圖像標籤(img tag)。
它的運作方式
Elementor Inline SVG與Elementor的核心Image小工具非常相似,但是它期望SVG文件並在您的頁面中輸出該文件的內容作為標記(markup)。這消除了使用img標籤時發生的額外HTTP請求,並允許通過CSS和JavaScript對SVG元素進行樣式和交互。
選項
最大寬度控制,可讓您指定最大寬度(以像素或百分比為單位)[響應式]
自定義長寬比以更改內容的默認長寬比 [響應式]
左、中、右對齊
外掛標籤
開發者團隊
原文外掛簡介
An Elementor widget that lets you add an SVG file as markup instead of an html image tag.
How it works
Elementor Inline SVG works much like the core Image widget from Elementor, except that it expects SVG files and outputs the file’s contents as markup in your page. This eliminates the extra HTTP request that otherwise occurs when using the tag and allows for styling and interacting with the SVG elements through CSS and Javascript.
Options
Max-width control that lets you specify a maximum width in pixels or percentage [responsive]
Custom aspect ratio to change the default aspect ration of the contents [responsive]
Alignment to left, center or right
