“Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras sagittis mauris ut nisi cursus eleifend. Sed non est eu augue vestibulum malesuada ut non purus.
$('.pseudo q').exdent({ detect: true });
Lorem ipsum dolor sit amet,
consectetur adipiscing elit.
Cras sagittis mauris ut nisi cursus eleifend.
This works also in the middle of the text. Try to resize the
window to bring this quote to the left border.
Sed non est eu augue vestibulum malesuada ut non purus.
$('.hardcoded q').exdent({ by: '.4em' });
“Lorem ipsum dolor sit amet,
consectetur adipiscing elit.
Cras sagittis mauris ut nisi cursus eleifend.
“This works also in the middle of the text. Try to resize the
window to bring this quote to the left border.
Sed non est eu augue vestibulum malesuada ut non purus.
<span>
s by the length of the string "This "
:$('.a-span span').exdent({ detect: 'This ' });
This is a span. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras sagittis mauris ut nisi cursus eleifend. This works also in the middle of the text. Try to resize the window to bring this span to the left border. Sed non est eu augue vestibulum malesuada ut non purus.
$.css()
:$('.cssHook q').css('exdent', '.4em');
“Lorem ipsum dolor sit amet,
consectetur adipiscing elit.
Cras sagittis mauris ut nisi cursus eleifend.
“This works also in the middle of the text. Try to resize the
window to bring this quote to the left border.
Sed non est eu augue vestibulum malesuada ut non purus.