Categories: Css3

A Little Known CSS Facts

Share

As you have been writing css for several years day by day you are getting new things that you have never used previously.

Each and every well trained front-end developer feature-tests before using any features which a browser may not have. This feature testing has always done with scripting, and most of the people use Modernizr, an impressive utility packed with loads of well-tested routines, to do that feature testing.

CSS makes us the ability for creating transitions and animations but sometimes we need JavaScript libraries to give us a hand in modifying a few things and controlling the animated things.

Read Also: 5 CSS tricks for responsive design

Here are some CSS Facts:

  • Not only text, you can add color property to other elements also like body, anchor.
  • Set “collapse” as a visibility Property i.e. same as hidden except table rows.
  • Few more values are in background Shorthand Property.
    background: [background-image] [background-color] [background-repeat]
    [background-position] / [ background-size] [background-attachment] [background-clip] [background-origin];
  • Only on Absolutely Positioned Elements clip Property Works.
  • Vertical Percentages are not relative to container height.
  • text-decoration property is just a shorthand.
  • border-width property accepts keyword values i.e. medium, thin, and thick.
  • Have you heard about border-image? All modern browsers except IE10 and below supports this.
  • the empty-cells Property tells the browser whether to show or hide table cells which have no content.
  • font-style: oblique; represents slanted text, but not a true italic.
  • word-wrap is as same as overflow-wrap.

Recent Posts

Optimize Your Hormonal Balance: Enclomiphene Citrate for Enhanced Wellness

Hormonal balance plays a pivotal role in overall well-being, influencing various aspects of health, from…

17 hours ago

Paul Kanes Explores the World of Canine Companionship through Dog Walking

Dog walking is an excellent way to maintain your furry friend's camaraderie and provides many…

19 hours ago

Top 5 Must-Have Features Every Mobile App Needs to Succeed

Introduction Businesses understand the diverse requirements of mobile applications, which provide a competitive advantage. There…

24 hours ago

IoT Data Analytics: Ways to Gain Value from IoT Data

The Internet of Things (IoT) has recently changed the world. It links gadgets together and…

24 hours ago

The Rise of NFTs: Exploring the Impact of Non-Fungible Tokens on the Digital Economy

NFTs, or Non-Fungible Tokens, are revolutionizing the digital economy. These unique digital assets, authenticated through…

2 days ago

What to Ask Before You Hand Your Laptop For Repairing

It is safe to say that if you are in need of a good laptop…

2 days ago