Cascading Style Sheets - How to clean your CSS sheets
As you add elements to your page, you may be creating new styles for them. When you change that page again, you will probably remove some of those elements, but you will rarely remember to clean up the styles you created for them.
Make clean in the CSS file of your page is a real ordeal because it is difficult to know if a particular label is used or not in your blog.
That's why I want to share with you this technique really useful:
How to use Dust Me Selectors to remove not used styles from your CSS sheet ?
1. First we need to install the complement (Dust-Me Selector) from your Firefox browser.
2. Restart the Firefox browser
3. Click the Dust-Me Icon and select the "Spider SiteMap" menu
4. Write the root page from which the scan will start
5. Once the process is finished you will see all the not used selectors from each CSS files
Do you have any question ?
Please do not hesitate to ask me...
*************************************************************************************************
A medida que agrega elementos a su página, puede estar creando nuevos estilos para ellos. Cuando vuelva a cambiar esa página, probablemente eliminará algunos de esos elementos, pero rara vez recordará limpiar los estilos que creó para ellos.
Hacer limpieza en el archivo CSS de su página es un calvario real porque es difícil saber si una etiqueta en particular se utiliza o no en su blog.
Es por eso que quiero compartir con ustedes esta técnica realmente útil:
¿Cómo usar "Dust Me Selectors" para eliminar los estilos no utilizados de su hoja CSS?
1. Primero necesitamos instalar el complemento (Selector Dust-Me) desde su navegador Firefox.
2. Reinicie el navegador Firefox
3. Haga clic en el icono Dust-Me y seleccione el menú "Spider SiteMap"
4. Escriba la página raíz desde la cual se iniciará la exploración
5. Una vez finalizado el proceso, verá todos los selectores no utilizados de cada archivo CSS
Tienes alguna pregunta ?
Por favor, dejame un mensaje.