Phiki\Transformers\AddClassesTransformer
transformer out of the box, which allows you to automatically add scope-based CSS classes to HTML elements.
AddClassesTransformer
, apply it to your pending HTML content:
phiki-source.php
. You can then use these classes in your CSS to style specific elements:
style
attributesstyle
attributes added by Phiki, you can pass the styles: false
argument to the constructor.
class
attribute, allowing you to fully control the styling through CSS.