Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Baguette4267yIn the header of my SCSS file i add a comment block to track my z-indexing of any element with fixed position prop
ex :
// #Header : 1;
// #Footer : 5;
// # Body : 3
And so on.... -
voiid41587yI usually make generic styles for these kind of stuff.
.is-z1
z-index: 9
.is-z2
z-index: 99
......
And apply the classes to the elements I need -
or
text-align: center;
margin: 0 auto;
justify-content: center;
align-items: center;
vertical-align: center;
float: center;
color: center;
and the content continues align to the left. -
Change the css file that contains that statement to be the last that loads. Btw I'm currently having that issue with slick carousel 😂😂
-
@math-silva isn't justify-content for flexboxes? (sorry im a backend dude and only learned about flexboxes like a month ago) position?
-
z-index:999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999;
-
@nbamaral @math-silva it's not valid. Float only accepts left, right, and none iirc
-
voiid41587y@AlgoRythm I like your algorithm. Runs 9e99 times faster and use even much less space.
-
voiid41587y@AlgoRythm Try and implement it using a programming language like 'brain fuck'. You will definitely achieve similar efficiency.
In fact, I tried it in R, I collected some benchmarks, PM me for the details... Too long to post in this thread. Which I would have done, should you not had made it long.
Why did you do that? Are you drunk? Did you copy paste your efforts or you took time to write all that 9 out? Does your employee know what you do with your leisure time? Do you pay your tax? Do you even have a kid at home to take care of? -
neetjn3537yz-index: 9;
a modal is now visible above the standard layout
z-index: 99;
a modal is now layered atop the header
z-index: 999;
a modal has become "woke"
z-index: 9999;
a modal has transcended into the 21st dimension -
I have a SCSS module for that, 10 different levels, start at 10 and goes to 100. Based of the Material Design, initially I used 7, but found it more useful with more
z-index: 9;
😕
z-index: 99;
😐
z-index: 999;
😑
z-index: 9999;
😡
z-index: 9999 !important;
😠
z-index: 9999 !IMPORTANTAHFA;
😲
rant