Skip to content

Posts tagged ‘css’

11
Oct

JavaScript for manipulation with CSS class names

Modern browsers are providing a support of read-only property which returns a live DOMTokenList of the class attributes of the element, which is element.classList, which is actually a list of CSS classes of element, also we have methods for making manipulation with CSS class names and getting their number.
Read moreRead more

17
Jul

Scalable buttons css

If you want to code in CSS absolutely scalable buttons, which will depend on the viewport, you can use a few CSS units, which are already supported by all modern browsers.

Read moreRead more

26
Apr
placeholder

Reset of Placeholder text behaviour and color

In HTML5 exists an interesting attribute, which is defined to set temporary text in input fields of web-forms. It’s a “placeholder” attribute. Interesting thing, that behaviour of the input text field with this attribute can be different in a different browsers, also a color of this text may vary depending of browser.

Read moreRead more