In this blog post, we’ll explore Angular ngClass conditional class Example in component’s styles based on certain conditions. Sometimes in our application we want dynamically change the color, size, font, background images so Angular provides various ways to conditionally apply classes and style to elements. We’ll discuss how to use…
Tag: CSS
Javascript
Angular Dynamic Style CSS with Example
In this blog post, we’ll explore Angular dynamic style CSS with example in component’s styles based on certain conditions. Sometimes in our application we want dynamically change the color, size, font, background images so Angular provides various ways to conditionally apply styles to elements. In this post, we’ll explore three…
CSS
How to show dotted trim text in CSS ?
In this article we will show you how to show trimmed text with dots. We can also show dotted text with JavaScript or any server side language. We will take a simple example of text in div or p tag to trim the text after a specific width. Here is…