Here you will find details of news, projects, releases and other bits and pieces that we are working on at Boolean.
We hope that you find something of interest amongst the archives.
Code snippets, methodologies and useful links will also be mentioned here.
|
Often these selectors can confuse beginners. In CSS a class is represented by a dot “.” while an id is a hash “#”. Simply put an id is used on a unique style that doesnt repeat whilst a class can be re-used.
Often it can be hard to decide where to use a class versus an id for an element
Use a class tag if:
1.The style is used in various places throughout the document.
2.The style is very general.
Use an id tag if:
1.The style is only used once ever in the document.
2.The style is specific to a certain area of the document.
Remember that an id can only appear once in any HTML document. Once you’ve used that id it should not be used again on that page.
|
A quick little way to do this (whilst still degrading and being kind to screen readers)
How it works: text-indent:-9999px; relocates the text title off screen, replacing it by an image declared by background: {…} utilising a fixed width and height.