I am looking for a way to add a field with any number with jquery. It should be something like:
<div class="mr5">Add this text margin-right = 5px</div> <div class="ml15">Add this text margin-left = 15px</div> <div class="mt6">Add this text margin-top = 6px</div> <div class="mb4">Add this text margin-bottom = 4px</div>
etc.
<div class="m4">Add this text margin = 4px</div> <div class="p4">Add this text padding = 4px</div> ...
Is it possible to create jquery code for this? Perhaps do it to fill.
The idea: It can also be used in the Bootstrap, for example, to add auto-completion, margins or font-size using fs18 , to add font size: 18px
thanks
source share