Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
How do people go about developing gigantic .css file? Do they use some tools or they really code it line by line?
For example, here is one .css file that has 20K lines.
http://dkmstj1aljhw5.cloudfront.net/styles/dc3de668.app.css
The file you posted link to is probably generated from many smaller css files, and served as one big file, to reduce number of requests to server. Newer web frameworks usually provide some kind of a tool for managing assets.
Okay this is quite a broad question, but please see my answer below.
First of all typically very large CSS files can be part of a framework such as bootstrap for example.
On the other hand there are some CSS files that are long just by their nature. I have written a CSS file that has been 24000 lines before. This consisted of 8 separate files, all minimised into a single cached CSS file.
I hope this helps!
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 days ago.
Improve this question
I have had a great doubt for a long time, and I have been able to observe in some manufacturers that chips and tutorials, such as espressif or microchip technology, use pages with this format in some of their tutorials:
I would like to know if this page format is some standard or is it just a popular template that is often used or generated with some framework?
It would be interesting to be able to implement some identical format, I hope you can help me.
This is made using a document generator, and there are lots of them out there.
The specific one in your image example seem to be Read the docs.
You can look up "documentation generator" or "static documentation generator" for more examples.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
If I include the <head> of my page in a external file and then include it using a template engine like FreeMarker, would it be a bad practice?
I'm making a master page using Freemarker and I'm putting all the repetitive content in a external file.
Then I include them using Freemarker directives like such:
<#include "seccionesMasterPage/head.jsp"/>
I made external files of:
menu
header
footer
If I made a external file of the head and then include it, would it be a bad pratice?
Well, including files make things much more convenient, you don't need to rewrite the sample code segments many times, and many frameworks also provide the extend function to let you make some different from the included file. I cannot think of any disadvantages.
From an HTML perspective, it's best to include with every page you make. Since the tag tends to be consistently the same across pages with links to the same CSS stylesheets, jQuery libraries, Javascript files, metadata etc. etc. it's definitely easier to have one external file to change than to have to dig through multiple HTML files all to change one thing.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
This is my first time asking a question here on stackoverflow.
I'd like to know if anyone (more experienced in web design than me, but that's an easy one!) can help me out with a couple tips on how to make this website faster to load and navigate:
www.treasure-diggers.com
I know the HD video banner is the first thing that comes to mind, but that was an explicit request from the client (no Low-Definition render or Youtube player).
Aside from that, it's just a wordpress page with a dozen of medium-sized images, and yet it takes quite a while to load on low connection speeds.
Do you have any advice? Thanks in advance!
Look, I've checked your website in website speed test service (GTmetrix) and here you can check the result yourself.
There are some advices, for example, you can minify CSS and JS files and you can specify image dimensions for small images, like social icons, for example. try to resize big images yourself, not with the help of website. After that check the result in GTmetrix, your website speed will be improved =)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have been looking everywhere for this answer and I am struggling to find one.
I have a couple of websites and I would like to implement a PSD file I have created for an enquiry form, with HTML that is going to link to Mail Chimp.
Would I need to add the images to the HTML some how?
Does any one know any forums that I could look at?
Thanks in advance :)
Your best bet is to save the images into a folder as jpg's, png's, gif's etc, along with a html file (I use Dreamweaver) and then you zip up all your files once the html file is complete and then upload the zipped files straight to mailchimp.
that's how I got about using mailchimp
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Hi I am trying to work out if it is worth using LESSCSS.
After much research and playing I see that it is not supported by older browsers and needs to be compiled before it is used. Is it even worth using? I know that it makes css easier write, but is it even worth it if what you are writing is not what will be on live when it is used?
Thanks
In fact, there are two ways of using LESSCSS :
Client-side : the .less file is sent to client and is executed by the browser, uses javascript and requires recent browser.
Server-side : the .less files are compiled to plain .css files, which are sent to the client.
The second one requires more configuration of the server, but requires nothing more than CSS compatibility from the client.
You can find more details on the LESSCSS main page, at the bottom of "usage" section : here.