This question already has answers here:
Is there any way to find and remove unused CSS and Javascript common to all html pages? [closed]
(7 answers)
How to identify unused CSS definitions from multiple CSS files in a project
(3 answers)
Closed last year.
I have a site which has too many unused CSS and JS files. From google developer tools I got to know how to detect unused CSS/JS files. But my problem is there is a style.css file which has 24000 lines of code and a bootstrap.css file which has 9000 lines of code. It is nearly impossible to go to each line remove styles, can anyone suggest a better way to remove those styles.
Related
This question already has answers here:
How to add a browser tab icon (favicon) for a website?
(13 answers)
Closed 5 years ago.
I was wondering what code do I use to change my address bar icon? I have my 16x16.png file ready. It is in the same folder as my home.html on my desktop.
Also for the folder being on my desktop, what do I use as the directory? I quite do not understand what to put.
You need .ico file normally named as "favicon.ico" and if the existing one is also have same name "favicon.ico" you can just upload and it should be done.
This question already has answers here:
Is it possible to include one CSS file in another?
(17 answers)
Closed 5 years ago.
I want to import fonts from Google Fonts without having them in the directory and without having to import them in my .html file. Is there any way to reference a .css file from your main .css file?
Put the following code at the top of your main .css file, and point the url to the file you want to import.
#import url("file.css");
This question already has answers here:
Can you link to an HTML file?
(4 answers)
Closed 6 years ago.
I have a navigation bar that is in three of my website's files. I would like to put this bar (with css and all) in a separate file to import to these, as to make it so I wouldn't have to go through and edit all three navigation bars when I want to make a change. Is there a way to do this in Brackets?
If you are not 100% married to the files being .html, you could make your files .php and include your html by using <?php include "path/to.php"; ?>
This question already has answers here:
How to prevent your JavaScript code from being stolen, copied, and viewed? [closed]
(10 answers)
Closed 6 years ago.
i want to design my html page such that; if some body wants to copy my source code from browser it should appear as in encoded format.
Is it possible?
Thank you.
There are a lot of people who are afraid of copyright infringement, but as mplungjan said
If you put it on the web, it will be available to look at.
And that, unfortunately for you, is the case for every site from Google to Stack Overflow.
If there are any bad cases of your site being plagiarized you should think of suing.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Tools to selectively copy html+css+js from existing sites
Is there any tool so you can select the HTML part you want to copy and then the tool bring you the CSS rules associated with that HTML.
Have u tired it with FireBug https://addons.mozilla.org/en-us/firefox/addon/firebug/ ??
https://getfirebug.com/