Updates before the Bristol Software meetup
This commit is contained in:
parent
e392af7acf
commit
7dd48f3880
29 changed files with 1594 additions and 398 deletions
44
taking-flight-with-tailwind-css/sections/adding-classes.rst
Normal file
44
taking-flight-with-tailwind-css/sections/adding-classes.rst
Normal file
|
@ -0,0 +1,44 @@
|
|||
.. class:: centredtitle
|
||||
|
||||
Adding Tailwind to your CSS
|
||||
|
||||
.. page:: standardPage
|
||||
|
||||
Including Tailwind
|
||||
==================
|
||||
|
||||
.. code-block:: css
|
||||
:linenos:
|
||||
:include: code/1-adding-tailwind-directives.txt
|
||||
|
||||
Adding your own classes
|
||||
=======================
|
||||
|
||||
.. code-block:: css
|
||||
:linenos:
|
||||
:include: code/2-adding-custom-classes.txt
|
||||
|
||||
Adding your own classes (with layers)
|
||||
=====================================
|
||||
|
||||
.. code-block:: css
|
||||
:linenos:
|
||||
:include: code/3-layers.txt
|
||||
|
||||
.. raw:: pdf
|
||||
|
||||
TextAnnotation "Automatically places your code in the right position."
|
||||
|
||||
.. raw:: pdf
|
||||
|
||||
PageBreak titlePage
|
||||
|
||||
.. class:: centredtitle
|
||||
|
||||
``npx tailwind
|
||||
--input src/css/tailwind.pcss
|
||||
--output dist/tailwind.css``
|
||||
|
||||
.. raw:: pdf
|
||||
|
||||
TextAnnotation "As well as the output file, we need to specify the input file."
|
Loading…
Add table
Add a link
Reference in a new issue