RicoTrevisan
Advanced Tailwind tricks inspired by Shadcn
These tips just solved a big problem for me, figured I would share it here:
I was struggling to make this work:
~H"""
<div class={"ml-[#{@level / 2}rem]"} </div>
"""
But this worked:
~H"""
<div
class="ml-[--left-margin]"
style={"--left-margin: #{@level / 2}rem"}>
</div>
"""
Most Liked
slouchpie
This CSS var solution to dynamic sizing is super helpful. Thanks!
1
Popular in Screencasts
By Tensor Programming, a refresh to his original series:
New
This video is about the step by step guide to build packages with clear explanation of package files and registration procees to hex.pm
...
New
We produced five weeks of free content introducing people to Elixir and the basics of OTP, Ecto, and Phoenix. Today we’re announcing that...
New
I made an episode where we use escript to make a Rock-Paper-Scissors we can play from the command line.
https://elixircasts.io/command-l...
New
I made the next video in the OTP series to help get started with Supervisor methods and syntax. The video goes over the init methods lik...
New
Hey all! Following the fantastic blog post by the erlang team (A brief introduction to BEAM - Erlang/OTP) I made a video that quickly d...
New
The Beauty of Pattern Matching in Elixir (Screencast + Transcript)
One of the reasons I fell in :heart: with Elixir is pattern matchin...
New
Hey everyone, we thought it was about time we had an official streamers thread. Please feel free to add yours in this post (it’s a wiki) ...
New
I was working on testing a named agent that was started by my application. In testing I had intermittent failures. I thought I would shar...
New
Hey friends, today I published the first video of a new series I’m making, where I solve the challenges on Protohackers (see my tweet ann...
New
Other popular topics
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch.
This project took far...
New
Hi,
I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
After calling mix ecto.create I get this error:
17:00:32.162 [error] GenServer #PID<0.412.0> terminating
** (Postgrex.Error) FATAL...
New
Hello, how can I check the Phoenix version ?
Thanks !
New
Is there a way to rollback a specific migration and only that one (“skipping” all the other ones)?
Would
mix ecto.rollback -v 200809061...
New
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
Got a question about when to concat vs. prepending items to list then reversing to achieve appending.
So i know lists boil down to [1 | ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








