CSS - The :lang Pseudo-class
The :lang pseudo-class allows you to define special rules for different languages.
In the example below, the :lang class defines the quotation marks for q elements with lang="no":
Example
<html>
<head>
<style type="text/css">
q:lang(no) {quotes: "~" "~";}
</style>
</head>
<body>
<p>Some text <q lang="no">A quote in a paragraph</q> Some text.</p>
</body>
</html>
<head>
<style type="text/css">
q:lang(no) {quotes: "~" "~";}
</style>
</head>
<body>
<p>Some text <q lang="no">A quote in a paragraph</q> Some text.</p>
</body>
</html>
Other Topics
CSS
:Before pseudo element,CSS
:After pseudo element,CSS
: Multiple pseudo elements,CSS
: pseudo-elements and CSS classes,CSS
: First-letter pseudo-element,CSS
: First-element pseudo-element,CSS
: Syntax for Pseudo elements,CSS
: First-line pseudo-element,CSS
: All Css pseudo classes/elements,CSS
: The lang pseudo classCSS : MEDIA,CSS::STYLING
FORMS, mechanical
Engineering, English books,Photoshop
tutorials,Harry
potter,Best
100 english books,Mechanical-old-question-paper,STYLE
HTML ELEMENTS WITH SPECIFIC ATTRIBUTES,CSS
: HORIZONTAL NAVIGATION BAR,CSS
: FLOATING LIST ITEMS,CSS
: IMAGE GALLERY,CSS
: NAVIGATION BARS,CSS
: VERTICAL NAVIGATION BAR,CSS
: LIST OF CSS PSEUDO CLASSES
No comments:
Post a Comment