chai-css-engine-lib
v1.0.6
Published
A lightweight CSS utility class parser
Maintainers
Readme
��#� �c�h�a�i�-�c�s�s�-�e�n�g�i�n�e�-�l�i�b�
�
�
�
�A� �l�i�g�h�t�w�e�i�g�h�t� �C�S�S� �u�t�i�l�i�t�y� �c�l�a�s�s� �p�a�r�s�e�r� �t�h�a�t� �a�p�p�l�i�e�s� �i�n�l�i�n�e� �s�t�y�l�e�s� �u�s�i�n�g� �s�i�m�p�l�e� �c�l�a�s�s� �n�a�m�e�s� � �n�o� �b�u�i�l�d� �t�o�o�l�s�,� �n�o� �c�o�n�f�i�g�u�r�a�t�i�o�n�,� �j�u�s�t� �d�r�o�p� �i�t� �i�n� �a�n�d� �g�o�!�
�
�
�
�-�-�-�
�
�
�
�#�#� �I�n�s�t�a�l�l�a�t�i�o�n�
�
�
�
�#�#�#� �C�D�N� �(�r�e�c�o�m�m�e�n�d�e�d� �f�o�r� �b�e�g�i�n�n�e�r�s�)�
�
�J�u�s�t� �a�d�d� �t�h�i�s� �s�c�r�i�p�t� �t�a�g� �t�o� �y�o�u�r� �H�T�M�L� �f�i�l�e�:�
�
����h�t�m�l�
�
�<�s�c�r�i�p�t� �s�r�c�=�"�h�t�t�p�s�:�/�/�c�d�n�.�j�s�d�e�l�i�v�r�.�n�e�t�/�n�p�m�/�c�h�a�i�-�c�s�s�-�e�n�g�i�n�e�-�l�i�b�/�d�i�s�t�/�c�h�a�i�-�t�a�i�l�w�i�n�d�.�j�s�"�>�<�/�s�c�r�i�p�t�>�
�
����
�
�
�
�#�#�#� �n�p�m�
�
����b�a�s�h�
�
�n�p�m� �i�n�s�t�a�l�l� �c�h�a�i�-�c�s�s�-�e�n�g�i�n�e�-�l�i�b�
�
����
�
�
�
�-�-�-�
�
�
�
�#�#� �H�o�w� �t�o� �u�s�e�
�
�
�
�A�d�d� �c�l�a�s�s�e�s� �t�o� �a�n�y� �H�T�M�L� �e�l�e�m�e�n�t� �u�s�i�n�g� �t�h�i�s� �f�o�r�m�a�t�:�
�
����
�
�c�h�a�i�-�<�p�r�o�p�e�r�t�y�>�-�<�v�a�l�u�e�>�
�
����
�
�
�
�#�#�#� �E�x�a�m�p�l�e�s�
�
����h�t�m�l�
�
�<�!�-�-� �P�a�d�d�i�n�g� �-�-�>�
�
�<�d�i�v� �c�l�a�s�s�=�"�c�h�a�i�-�p�-�1�6�"�>�H�e�l�l�o�<�/�d�i�v�>�
�
�
�
�<�!�-�-� �M�a�r�g�i�n� �-�-�>�
�
�<�d�i�v� �c�l�a�s�s�=�"�c�h�a�i�-�m�-�1�0�"�>�H�e�l�l�o�<�/�d�i�v�>�
�
�
�
�<�!�-�-� �B�a�c�k�g�r�o�u�n�d� �C�o�l�o�r� �-�-�>�
�
�<�d�i�v� �c�l�a�s�s�=�"�c�h�a�i�-�b�g�-�r�e�d�"�>�H�e�l�l�o�<�/�d�i�v�>�
�
�
�
�<�!�-�-� �T�e�x�t� �A�l�i�g�n� �-�-�>�
�
�<�d�i�v� �c�l�a�s�s�=�"�c�h�a�i�-�t�e�x�t�-�c�e�n�t�e�r�"�>�H�e�l�l�o�<�/�d�i�v�>�
�
�
�
�<�!�-�-� �F�o�n�t� �S�i�z�e� �-�-�>�
�
�<�d�i�v� �c�l�a�s�s�=�"�c�h�a�i�-�f�s�-�2�4�"�>�H�e�l�l�o�<�/�d�i�v�>�
�
�
�
�<�!�-�-� �B�o�r�d�e�r� �R�a�d�i�u�s� �-�-�>�
�
�<�d�i�v� �c�l�a�s�s�=�"�c�h�a�i�-�r�o�u�n�d�e�d�-�8�"�>�H�e�l�l�o�<�/�d�i�v�>�
�
�
�
�<�!�-�-� �W�i�d�t�h� �a�n�d� �H�e�i�g�h�t� �-�-�>�
�
�<�d�i�v� �c�l�a�s�s�=�"�c�h�a�i�-�w�-�2�0�0� �c�h�a�i�-�h�-�1�0�0�"�>�H�e�l�l�o�<�/�d�i�v�>�
�
�
�
�<�!�-�-� �F�o�n�t� �W�e�i�g�h�t� �-�-�>�
�
�<�d�i�v� �c�l�a�s�s�=�"�c�h�a�i�-�f�w�-�b�o�l�d�"�>�H�e�l�l�o�<�/�d�i�v�>�
�
�
�
�<�!�-�-� �C�o�l�o�r� �-�-�>�
�
�<�d�i�v� �c�l�a�s�s�=�"�c�h�a�i�-�c�o�l�o�r�-�b�l�u�e�"�>�H�e�l�l�o�<�/�d�i�v�>�
�
�
�
�<�!�-�-� �C�o�m�b�i�n�e� �m�u�l�t�i�p�l�e� �c�l�a�s�s�e�s� �-�-�>�
�
�<�d�i�v� �c�l�a�s�s�=�"�c�h�a�i�-�p�-�1�6� �c�h�a�i�-�b�g�-�r�e�d� �c�h�a�i�-�r�o�u�n�d�e�d�-�8� �c�h�a�i�-�f�w�-�b�o�l�d�"�>�H�e�l�l�o� �W�o�r�l�d�<�/�d�i�v�>�
�
����
�
�
�
�-�-�-�
�
�
�
�#�#� �S�u�p�p�o�r�t�e�d� �P�r�o�p�e�r�t�i�e�s�
�
�
�
�|� �C�l�a�s�s� �P�r�e�f�i�x� �|� �C�S�S� �P�r�o�p�e�r�t�y� �|� �E�x�a�m�p�l�e� �|�
�
�|�-�-�-�|�-�-�-�|�-�-�-�|�
�
�|� ��c�h�a�i�-�p�� �|� �p�a�d�d�i�n�g� �|� ��c�h�a�i�-�p�-�1�6�� �|�
�
�|� ��c�h�a�i�-�m�� �|� �m�a�r�g�i�n� �|� ��c�h�a�i�-�m�-�1�0�� �|�
�
�|� ��c�h�a�i�-�b�g�� �|� �b�a�c�k�g�r�o�u�n�d�-�c�o�l�o�r� �|� ��c�h�a�i�-�b�g�-�r�e�d�� �|�
�
�|� ��c�h�a�i�-�t�e�x�t�� �|� �t�e�x�t�-�a�l�i�g�n� �|� ��c�h�a�i�-�t�e�x�t�-�c�e�n�t�e�r�� �|�
�
�|� ��c�h�a�i�-�f�s�� �|� �f�o�n�t�-�s�i�z�e� �|� ��c�h�a�i�-�f�s�-�2�4�� �|�
�
�|� ��c�h�a�i�-�r�o�u�n�d�e�d�� �|� �b�o�r�d�e�r�-�r�a�d�i�u�s� �|� ��c�h�a�i�-�r�o�u�n�d�e�d�-�8�� �|�
�
�|� ��c�h�a�i�-�w�� �|� �w�i�d�t�h� �|� ��c�h�a�i�-�w�-�2�0�0�� �|�
�
�|� ��c�h�a�i�-�h�� �|� �h�e�i�g�h�t� �|� ��c�h�a�i�-�h�-�1�0�0�� �|�
�
�|� ��c�h�a�i�-�c�o�l�o�r�� �|� �c�o�l�o�r� �|� ��c�h�a�i�-�c�o�l�o�r�-�b�l�u�e�� �|�
�
�|� ��c�h�a�i�-�b�o�r�d�e�r�� �|� �b�o�r�d�e�r� �|� ��c�h�a�i�-�b�o�r�d�e�r�-�1�� �|�
�
�|� ��c�h�a�i�-�g�� �|� �g�a�p� �|� ��c�h�a�i�-�g�-�1�0�� �|�
�
�|� ��c�h�a�i�-�f�w�� �|� �f�o�n�t�-�w�e�i�g�h�t� �|� ��c�h�a�i�-�f�w�-�b�o�l�d�� �|�
�
�
�
�-�-�-�
�
�
�
�#�#� �L�i�c�e�n�s�e�
�
�M�I�T�
�
�
