Dynadot โ€” .com Transfer

Tabs Extending Beyond Content

Spaceship Spaceship
Watch

Pixel-Industry

Established Member
Impact
0
sobwya.jpg

A recent, possibly fading, trend in design is to have little tabs or buttons extend beyond the content as seen in the picture above. As far as coding this what is the best technique?

A. Extending the container div wider and use margins to push content further over

or

B. Use position: absolute; to extend the tab beyond that container...

Also, what is the most effective and compliant way to achieve vertical text as seen in the above picture?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
1. B. Use position:absolute and then javascript to hide it when the user's browser is not wide enough to achieve consistent horizontal scrollbars in all browsers.

2. Use transform:rotate. See Text Rotation with CSS - Snook.ca.
 
0
•••
Appraise.net
Domain Recover
DomainEasy โ€” Live Options
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back