• Getting Started
    • Prerequisites
    • Download and Installation
    • Change Log
  • Developer Guide
    • EvenCart Plugins
      • Development Environment Setup
      • Plugin Structure
      • EvenCart MVC
      • Dependency Injection
      • Domain Entities
      • Database Versions
      • Plugin Settings
      • Data Provider Plugin
      • Payment Processing Plugin
      • Shipping Provider Plugin
      • Authentication Provider
      • Widget Plugin
    • EvenCart API
      • Authentication
      • Requests & Responses
      • API EndPoints
    • Caching
  • Designer Guide
    • How to create a theme
    • Extended Tags
      • Layout Tag
      • Widget Tag
      • Json Tag
      • Css Tag
      • Js Tag
      • Bundle Tag
      • Partial Tag
      • Control Tag
      • Route Tag
      • Global Tag
      • Component Tag
    • Extended Filters
    • Global Objects
  • Packaging & Distribution

Css Tag

The css tag is used to include a stylesheet on a page.

Parameter

The tag requires full path to the css file relative to the theme's directory.

Option Key Value Pairs

The following key value pairs can be specified with this tag.

Key Value
bundle The name of the bundle in which this stylesheet is included.

Example

{% css "/default/assets/css/bootstrap.min.css" %}

When view engine finds the above tag, it renders the following on the page (unless bundling is enabled). If bundling is enabled, nothing is rendered at the tag's place.

<link href="/default/assets/css/bootstrap.min.css" />

Related Pages

  • Layout Tag
  • Widget Tag
  • Json Tag
  • Js Tag
  • Bundle Tag
© 2021 Sojatia Infocrafts Pvt. Ltd. All rights reserved. Powered by onlyDoc.