Skip to main content
4 votes
Accepted

Responsive Websites <meta name="viewport" content="width=device-width, initial-scale=1">

The best answer for this is in a Stack Overflow post: https://stackoverflow.com/questions/61238548/side-effects-of-removing-width-device-width-from-viewport-meta-tag-when-initi Relevant quote (...
Henry Visotski's user avatar
4 votes
Accepted

Does having many CSS classes in a webpage affect SEO?

I've never heard of the number of classes impacting SEO. However, having lots of CSS files to download, or large CSS files can impact the Largest Contentful Paint (LCP). Additionally, poorly ...
Trebor's user avatar
  • 3,270
3 votes
Accepted

Explain me some CSS

When we use before it means, this css will apply (virtually) before the default content in html element, and vice-versa for after but the catch is these are called pseudo selectors, which does not ...
OM The Eternity's user avatar
3 votes

Is there a performance difference between background-size:cover and background-size:100% auto?

There is a performance difference between the two, using background-size: 100%; is not supported for Android 4.3 Browser and below. Also, background-size percentage values are not properly supported ...
Tom Brossman's user avatar
  • 2,291
2 votes

Should I split a large CSS media queries file into separate files for each screen size?

As @dalore mentioned in a comment, you might want to split the css by media query to reduce the amount of render blocking resource While it's not a download saver it is in a way. A browser will ...
Rafael Lebre's user avatar
2 votes

Is animating in Navbar a good idea?

closetnoc and billal make very good points. If I made add, while I do like some sort of animation on sites, I think it is best to keep things animated under these 2 conditions with the second being ...
norcal johnny's user avatar
2 votes

Is animating in Navbar a good idea?

To answer your question, one must know the content and the purpose of your website. A navigation bar is there to guide but the design of yours seems to be more distracting than guiding. As a general ...
Billal Begueradj's user avatar
2 votes

Disabling highlighted search box

Without seeing your code it is hard to give you an exact answer, but it will be something like textarea:focus, input:focus{ outline: none; } But this covers your entire site, so you might want to be ...
Steve's user avatar
  • 8,513
2 votes
Accepted

Is is still necessary to use vendor prefixes on css styles?

Yes, it is still generally necessary to preface certain CSS styles with -webkit and -moz prefixes for browser compatibility. This is because different browsers may interpret certain CSS styles ...
Michael Moriarty's user avatar
1 vote

How do you use a font-family's special features inside html?

You are after two different things You insert special characters e.g copyright, accented letters, by using HTML entities e.g. &copy; or &#169; for ©. Here is a list https://www....
Steve's user avatar
  • 8,513
1 vote
Accepted

Is animating in Navbar a good idea?

The height in css is always set to 0 and it worries me if the javascript were to mess up for the user, the animation won't happen and the nav wont show. That is always a risk. What you could do, and ...
MrWhite's user avatar
  • 42.9k
1 vote

Google's cache is not using my custom font

I know it's an old question, but it's the first one in the Google search results. I've been searching for a solution and after some weeks of unsuccessfull testing, I could find the solution. Add this ...
Unix's user avatar
  • 333
1 vote

Can CSS be copyrighted?

In the U.S., yes. The (HTML, CSS, XML, PHP, etc) code that is used to design a website, or any attribute of the same can be copyrighted. The cost varies and the copyright ownership lasts for 70 years ...
elbrant's user avatar
  • 890

Only top scored, non community-wiki answers of a minimum length are eligible