CSS quotes Property
Demo
In this demo, we used css 'quotes' property to create a custom quotes ( ¯ and * ).
This is paragraph with custom quotes
CSS quotes Property
CSS quotes
property sets how quotation marks appear.
Example
Syntax
Using CSS
Using Javascript
Animatable
No, quotes property is not animatable. CSS Animatable Properties Reference.
Default Value
Default value for CSS quotes property is not specified.
Property Value
The following table provides a list of values for CSS quotes
property.
Value | Explanation |
---|---|
none | Specifies that the open-quote and close-quote values of the content property produce no quotation marks. |
string | Specifies that the one or more pairs of <string> values for open-quote and close-quote. The first pair represents the outer level of quotation, the second pair is for the first nested level, next pair for third level and so on. |
All in One
In the following example, we will demonstrate all values of CSS quotes
property.
Example
Using JavaScript
In the following example, we will demonstrate how to change the CSS quotes
property of an element using JavaScript.
Example
Reminder
Hi Developers, we almost covered 98.7% of CSS Tutorials with examples for quick and easy learning.
We are working to cover every Single Concept in CSS.
Please do google search for:
Join Our Channel
Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.
This channel is primarily useful for Full Stack Web Developer.