Add Tailwind workshop slides
This commit is contained in:
parent
7e82c2fd7e
commit
be9513edc6
78 changed files with 1154 additions and 0 deletions
44
workshop-tailwind-css/sections/task-1-add-tailwind-css.rst
Normal file
44
workshop-tailwind-css/sections/task-1-add-tailwind-css.rst
Normal file
|
@ -0,0 +1,44 @@
|
|||
.. page:: titlePage
|
||||
|
||||
.. class:: centredtitle
|
||||
|
||||
Task 1: Adding Tailwind CSS
|
||||
|
||||
.. page:: standardPage
|
||||
|
||||
.. code-block:: bash
|
||||
:include: code/adding-tailwind.txt
|
||||
:end-before: -- adding tailwind
|
||||
|
||||
.. page::
|
||||
|
||||
Create the source file:
|
||||
|
||||
|
|
||||
|
||||
.. code-block:: css
|
||||
:include: code/adding-tailwind.txt
|
||||
:start-after: -- adding tailwind
|
||||
:end-before: -- adding scripts
|
||||
|
||||
.. page::
|
||||
|
||||
Add to ``package.json``:
|
||||
|
||||
.. code-block:: js
|
||||
:include: code/adding-tailwind.txt
|
||||
:start-after: -- adding scripts
|
||||
:end-before: -- adding the stylesheet
|
||||
|
||||
|
|
||||
|
||||
Add to ``templates/html.html.twig``:
|
||||
|
||||
.. code-block:: html
|
||||
:include: code/adding-tailwind.txt
|
||||
:start-after: -- adding the stylesheet
|
||||
|
||||
.. page:: imagePage
|
||||
|
||||
.. image:: images/1-end.png
|
||||
:width: 22cm
|
Loading…
Add table
Add a link
Reference in a new issue