style
Permite a inclusão de CSS diretamente em um template.
string
O conteúdo CSS a ser incluído.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Tags HTML ajudam você a trabalhar com HTML nos seus templates Liquid.
style{% style %}
css_content
{% endstyle %}
{% style %}
.highlighted {
background-color: yellow;
padding: 5px;
font-weight: bold;
}
{% endstyle %}
<span class="highlighted">Este texto está destacado</span>
<style>
.highlighted {
background-color: yellow;
padding: 5px;
font-weight: bold;
}
</style>
<span class="highlighted">Este texto está destacado</span>
