Add 'Taking Flight with Tailwind CSS' slides
This commit is contained in:
parent
6cf5e862ad
commit
c78138b63d
65 changed files with 1208 additions and 0 deletions
50
taking-flight-with-tailwind-css/sections/responsive.rst
Normal file
50
taking-flight-with-tailwind-css/sections/responsive.rst
Normal file
|
@ -0,0 +1,50 @@
|
|||
.. page:: titlePage
|
||||
|
||||
.. class:: centredtitle
|
||||
|
||||
Responsive
|
||||
|
||||
.. raw:: pdf
|
||||
|
||||
TextAnnotation "Mobile first by default"
|
||||
|
||||
.. page::
|
||||
|
||||
.. class:: centredtitle
|
||||
|
||||
``[screen][separator][class]``
|
||||
|
||||
.. page:: standardPage
|
||||
|
||||
Screens (aka breakpoints)
|
||||
=========================
|
||||
|
||||
.. code-block:: javascript
|
||||
:include: code/12-default-screens.txt
|
||||
:linenos:
|
||||
|
||||
.. page:: titlePage
|
||||
|
||||
.. class:: centredtitle
|
||||
|
||||
``md:flex``
|
||||
|
||||
|
|
||||
|
||||
.. class:: centredtitle
|
||||
|
||||
``md:hover:bg-red-500``
|
||||
|
||||
.. page:: standardPage
|
||||
|
||||
Responsive classes in CSS
|
||||
=========================
|
||||
|
||||
.. code-block:: css
|
||||
:include: code/13-responsive-classes.txt
|
||||
|
||||
Responsive classes in HTML
|
||||
==========================
|
||||
|
||||
.. code-block:: html
|
||||
:include: code/14-responsive-class-example.txt
|
Loading…
Add table
Add a link
Reference in a new issue