an <a>
tag is an inline element, you can only apply ellipsis to a block element, try a { display: block; }
and it works
Related Contents:
- See :hover state in Chrome Developer Tools
- How to change the color of an svg element?
- CSS3 Transparency + Gradient
- What does it mean when a CSS rule is grayed out in Chrome’s element inspector?
- How do I make a semi transparent background?
- Apply style ONLY on IE
- How to align a div to the top of its parent but keeping its inline-block behaviour?
- Overflow-x:hidden doesn’t prevent content from overflowing in mobile browsers
- Common CSS Media Queries Break Points [duplicate]
- How to prevent long words from breaking my div?
- Calculate a percent with SCSS/SASS
- How to style the UL list to a single line
- background:none vs background:transparent what is the difference?
- How to Create Grid/Tile View? [duplicate]
- Difference between @import and link in CSS
- How to change btn color in Bootstrap
- Webfont Smoothing and Antialiasing in Firefox and Opera
- how to avoid extra blank page at end while printing?
- LESS CSS nesting classes
- What is the best CSS Framework and are they worth the effort?
- CSS Properties: Display vs. Visibility
- CSS transition when class removed
- How to use relative/absolute paths in css URLs?
- How to implement max-font-size?
- How to apply custom animation effect @keyframes in MUI?
- Change font-weight of FontAwesome icons?
- How can I remove the bold from a headline?
- What is the difference between bootstrap.css and bootstrap-theme.css?
- How do I hide anchor text without hiding the anchor?
- How do I include a font awesome icon in my svg?
- How can I align text center on small screens with Bootstrap?
- CSS-Only Sticky Table Headers In Chrome
- On css: if text line is break show dots
- Is sizing fonts using “em” still relevant?
- How to make the items in the last row consume remaining space in CSS Grid?
- vertical-align image in div [duplicate]
- How can I disable the bootstrap hover color for links?
- HTML – Newline char in DIV content editable?
- How can I transition height: 0; to height: auto; using CSS?
- Bootstrap 3 unable to display glyphicon properly
- What is -webkit-focus-ring-color?
- Angular2 Material Dialog css, dialog size
- Can we include common css class in another css class?
- How to adjust the Caret (blinking cursor) size inside searchbar with css
- Why is the CSS border-color inheriting the color property?
- How can i stop jQuery mobile to apply styles to my specific form elements
- Using margin / padding to space from the rest of the
- Get HTML Element Height without JQuery in AngularJS
- Line before and after title over image [duplicate]
- Generating inline font-size style using ReactJS