No, these lights are not fireworks!
They are part of Christmas decoration on the main square in Ljubljana, taken with a varying zoom (exposure 1/5s, tripod, manually varied zoom).
If you look closely, you can see that the yellow are 'normal' lights (continuous, constant) and the blue are LEDs (actually flashing and thus appearing as a dotted line).