Centering Everything?
See original GitHub issueHi there. I love your Chrome extension, but I’m not well versed in CSS. Can you tell me how I could change the generated CSS so that everything is Center-Aligned instead of Left-Aligned?
Here’s my current, automatically generated, CSS: `#main a { font-family: “Cantarell”; }
main a { font-size: 2.2em; }
main a { color: #3a3a3a; }
body { background-color: #ebebeb; }
main a:hover { background-color: #a37eff; }
main a:hover { color: #ebebeb; }
main a:hover { box-shadow: 0 0 33.31899999999999px #553fb9; }
body { background-image: url(); } body { background-image: url(); } body { background-position: left top; } body { background-repeat: repeat; } body { background-size: auto; }
main a:hover { box-shadow: 0 0 33.31899999999999px #553fb9; }
main a { border-radius: 1.5em; }
main a { -webkit-transition-duration: 0.2s; }
main a { line-height: 5.6; padding-left: 2em; padding-right: 2em; }
main { width: 400px; }
main { left: 6.280000000000001%; }
main { margin-top: 25.28px; }
.wrap { -webkit-transition-duration: 0.2s; }
options_button { opacity: 0; }
main { margin-top: 80px; width: 1000px; }
`
Any advice or even something I could copy and paste would be awesome!
Thanks a lot 😃
~ Ev
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
CSS: centering things
Web Style Sheets CSS tips & tricks. See also the index of all tips. Centering things. A common task for CSS is to...
Read more >How to Center Anything with CSS - Align a Div, Text, and ...
Centering things is one of the most difficult aspects of CSS. The methods themselves usually aren't difficult to understand.
Read more >Centering in CSS: A Complete Guide
If you don't, you just need the content inside vertically centered, using tables or CSS display to make elements into tables can do...
Read more >CSS Layout - Horizontal & Vertical Align
There are many ways to center an element vertically in CSS. A simple solution is to use top and bottom padding : I...
Read more >How to Center Text & Headers in CSS Using the Text-Align ...
Learn how to center text horizontally and vertically with CSS. ... Say you have a text-only web page and want to center all...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try, in Custom CSS:
Still I think it would be good to have an option for alignment in the UI without requiring custom CSS.