Is-link

From Frontal Wiki

Jump to: navigation, search

Contents

Purpose

This style determines whether or not the given visual element is a link.


Value

The is-link style accepts boolean values "true" or "false". The default value is "false".

is-link: false;


Remarks

This style marks the element as a link, which initiates Frontal's handling of the ":link" and ":visited" style sheet pseudo-classes.

The frLink style sheet class defined in The Default Frontal Style Sheet sets is-link to true.


Example

<style><![CDATA[
	text
		{
			is-link: true;
		}
	text:link
		{
			color: red;		
		}	
	text:visited
		{
			color: green;		
		}	
]]></style>
<text class="frLink"><![CDATA[A link.]]></text>


Can Be Applied To

This style can be applied to:

Personal tools
Get Adobe Flash player