Jump to content

W3css CSS file


gordonisnz
 Share

Recommended Posts

Hi, who or where do we contact to make improvements to W3css ? 

 

https://www.w3schools.com/w3css/4/w3.css

 

Im using the above CSS - however ive added my own, which may be useful to the wider community.


.w3-table-center{margin-left:auto;margin-right:auto}
.w3-table-half{width:49.99999%}
.w3-table-5{width:5%}
.w3-table-10{width:10%}
.w3-table-15{width:15%}
.w3-table-20{width:20%}
.w3-table-25{width:25%}
.w3-table-30{width:30%}
.w3-table-35{width:35%}
.w3-table-40{width:40%}
.w3-table-45{width:45%}
.w3-table-50{width:50%}
.w3-table-55{width:55%}
.w3-table-60{width:60%}
.w3-table-65{width:65%}
.w3-table-70{width:70%}
.w3-table-75{width:75%}
.w3-table-80{width:80%}
.w3-table-85{width:85%}
.w3-table-90{width:90%}
.w3-table-95{width:95%}

Link to comment
Share on other sites

Or give table an id ref and give it any width you want without the need to touch html to change the classname, for example you have 2 tables side by side 50% width for desktop size, and i want to change to 30% - 70%, i would identfy the id ref change the widths done! Also easier to change for device widths responsive layout requirements.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...