Skip to content

Commit 3ecc863

Browse files
author
Peter Hozak
committed
update tips
1 parent 30f0975 commit 3ecc863

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

03-css-debugging/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ cd src/examples/
3131
* Or at least React component names, including [HOC](https://reactjs.org/docs/higher-order-components.html#convention-wrap-the-display-name-for-easy-debugging)
3232
* Temporary background / outline also useful
3333
* Know thy framework / use consistent code style to simplify search in code
34+
* Choose a library that does not use !important rules
3435
* CSS vs CSS-in-JS => hot reload vs cleaner code over time
3536
* 01 Vertical alignment
3637
* Parent height
@@ -54,4 +55,5 @@ cd src/examples/
5455
* `flex-wrap`, `grid-template-columns`, `<Col md={12} />`, `min-width`, ... not just @media
5556
* 05 Transitions
5657
* `transition` property applied from the "after" / "new" selector
58+
* `height: auto` cannot be calculated, use `min/max-height` or fixed heights for transitions (or JS library)
5759
* Q&A

0 commit comments

Comments
 (0)