Warsaw, Poland
tomandquery@gmail.com

CSS, LESS, SASS

Auto increment of table rows numbering
21.02.2018

Auto increment of table rows numbering

table.portfolio.css { counter-reset: rowNumber; } table.portfolio.css tbody tr { counter-increment: rowNumber; } table.portfolio.css tbody tr td:first-child::before { content: counter(rowNumber); min-width: 1em; margin-right: 0.5em; color: rgb(63, 81, 181); } table.portfolio.css tbody tr td:first-child::after { content: '...
Read more

Checkbox custom styles

.custom-checkbox[type="checkbox"] { -webkit-appearance: none; background-color: #ebeaea; border: none; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05); padding: 11px; border-radius: 0px; display: inline-block; position: relative; margin-left: -20px;...
Read more

Ostrich console, notes, less

ostrich-11-2017 download https://github.com/tomandquery/ostrich for (i=0;i<101;i++){console.log('.ty' + i + ' { transform: translateY(' + i + 'px); }')} for (i=0;i<101;i++){console.log('.ty-' + i + ' { transform: translateY(-' + i + 'px); }')} for (i=0;i<101;i++){console.log('.tz' + i...
Read more