內容簡介
這個外掛啟用了 [ios_icon] 短碼,允許您放置 iOS 應用程序的圖標,而不需要在 Photoshop 中呈現它們的圓角和陰影。
短碼的可用屬性:
size – 設定圖示的大小。(例如: 57, 72, 114, 512),預設值是 57。
url – 圖片的網址
shadow_color – 陰影的 CSS 樣式顏色 (例如:#000、#ab67fc、rgba(0, 0, 0, 0.4)),預設值是 #000。
style – 內容區塊的其他 CSS 樣式。在這裡,您可以添加浮動、邊距、邊框等等。
範例:
[ios_icon size="114" url="http://yourdomain.com/path/to/114-icon.png" style="float:right;margin:0 0 12px 12px;border:1px solid rgba(0, 0, 0, 0.2);" shadow_color="red"]
外掛標籤
開發者團隊
原文外掛簡介
This plugin activates [ios_icon] shortcode allowing you to place iOS apps’ icons without rendering their corner radius and shadow in Photoshop.
Available attributes of shortcode:
size – tells how big is the icon. (e.g. 57, 72, 114, 512) Default is 57.
url – URL of the image
shadow_color – CSS-styled color of the shadow (e.g. #000, #ab67fc, rgba(0, 0, 0, 0.4)) Default is #000.
style – additional CSS style for element. Here you can add float, margin, border, etc.
Example:
[ios_icon size="114" url="http://yourdomain.com/path/to/114-icon.png" style="float:right;margin:0 0 12px 12px;border:1px solid rgba(0, 0, 0, 0.2);" shadow_color="red"]
