Tak jak by se to dělat mělo

Řešení pomocí třídy a css

Nefunguje