VML stands for Vector Markup Language, it is a legacy markup language that was used in Outlook for Windows. The Maizzle Starter includes a VML component that you can use to add support for background images in Outlook for Windows.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/maizzle/maizzle.com/llms.txt
Use this file to discover all available pages before exploring further.
v-fill
The Fill component is defined incomponents/v-fill.html.
Use it when you need to add a background image that you don’t know the height of.
You can use it immediately inside a container that has a CSS background image:
Props
Thex-v-fill component supports the following props:
image
Default:https://via.placeholder.com/600x400
The URL of the image that will be used as a background image in Outlook for Windows.
width
Default:600px
The width of the image, preferably in pixels. This sets CSS width on the root <v:rect> VML element of the component, so you’ll need to include the unit, i.e. 600px instead of 600.
inset
Default:0,0,0,0
Replicates the CSS padding property.
The order of the values is left, top, right, bottom.
This is applied to a <v:textbox> element that wraps the content of the component - basically, the content that you want overlayed on top of the background image.
type
Default:frame
The type of fill to use. You can use frame or tile.
sizes
Default:undefined
Define the exact dimensions of the <v:fill> element.
Both values need to be set and they can be separated by either a comma or a space:
origin
Default:undefined
Replicates the CSS background-position property.
origin="-0.5,-0.5" position="-0.5,-0.5"equalstop leftorigin="0.5,-0.5" position="0.5,-0.5"equalstop rightorigin="-0.5,0.5" position="-0.5,0.5"equalsbottom leftorigin="0.5,0.5" position="0.5,0.5"equalsbottom right
position
Default:undefined
See the docs for origin above.
aspect
Default:undefined
Replicates the CSS background-size property.
Possible values:
atleast(background-size: cover)atmost(background-size: contain)
color
Default:undefined
Replicates the CSS background-color property.
Example:
fillcolor
Default:none
Whether to fill the shape with a color.
Example:
stroke
Default:f
Adds a border to the shape.
Example:
strokecolor
Default:undefined
The color of the border.
Example: