Answer the question
In order to leave comments, you need to log in
How to implement text-align: justify but with the last line on the right side?
I have text centered using text-align: justify and I need the last line, which can be 2 to 6 words, to be centered on the right side.
For example, this text needs all full-fledged lines to be as they are now, and the last line (mollitia quisquam iusto odit dolorem.) is not on the left side, but on the right.
https://i.imgur.com/wQAdj3p.png
How can this be done?
Answer the question
In order to leave comments, you need to log in
There are 3 tables in total:
2 tables: items and options and one many-to-many (intermediate):
item_id
, option_id
the intermediate table will only store unique relationships.
A quick search - you can do both by option and by item.
And add properties or items - no problem.
1
There will be no sparsity of the table, because you do not have a null
EAV - for boolean overkill
jsonb - overkill by space occupied
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question