“Are you tired to fill in over and over again your credentials when you log in? Well let us do it for you, just introduce your user and password only once, tick the check button and from now on you…
There are so many ways to show content only on demand, to save some space on your website, instead of showing everything all at once. Accordions show answers only when you click on the question, Anchor menus scroll to content…
Let’s get with the task crystal clear and write some points of what types of accordion will we create and what should the requirements be: Let’s do the only-one-opened-at-a-time accordion ! I will structure the code in 2 components: I…
For today I have a really really small article with a neat CSS trick. When you hover over the navigation and you would like to give a spotlight effect to the hovered item while the rest of the items immerse…
For today I have a really short article for you. It is about sneak peeking the password field, to check what you actually wrote behind those bullets in your password input. Let me provide you with the code: The TSX…
A textarea can hold multiple lines of text but usually has a fix height and also it can be resized manually by the user. But what about automatic resize of the textarea, based on it’s content and the maximum limit…
Just with a few line of Javascript a coloured indicator can be created to indicate how much did we already scrolled from the entire document. The scroll indicator will be a progress tag, the value attribute will represent the current…
Our objective is to create a comment field that has a character limit and the remaining character number is displayed below. That information is updated on any change on this comment field, like key press, paste with the mouse. We…
I want to show you a small trick for an annoying problem. There are situations when you have paragraphs in the document that don’t have tags or text inside only space. Because of that the paragraph having some padding applied…
There are many resize-to-fit-text scripts out there but I am proposing one small solution of mine instead of using a plugin to do this. Let me show you a small demonstration of the script in slow motion: So what is…