New answers tagged layout
Advice
0 votes
0 replies
0 views
In CSS, is it a code smell to use 'display: inherit'?
My point is: if you want to express an abstraction, such as copying the parent element's properties whatever they are, the best solution is the direct expression of this abstraction. If this ...
Advice
0 votes
0 replies
0 views
In CSS, is it a code smell to use 'display: inherit'?
If you are satisfied with the parent display, then you can use inherit. But, for example, block is shorter )) And in your example, you can generally specify it like this: .drawer { &.collapse { ...
Advice
0 votes
0 replies
0 views
In CSS, is it a code smell to use 'display: inherit'?
I'm having a bunch of them display: inherit; lately, and got me thinking of I really should rethink the decision
Advice
0 votes
0 replies
0 views
In CSS, is it a code smell to use 'display: inherit'?
That's is what I'm actually thinking, I just got a bit confused if either the decision to use inherit here is justified since having inherit will also have a bit of an abstraction, Im kida weighing ...
Advice
0 votes
0 replies
0 views
In CSS, is it a code smell to use 'display: inherit'?
There are many use cases of using inherit. In particular, it can help to reduce the number of repetitions in CSS. You question the objections against this approach here: ...because the code above ...
Top 50 recent answers are included
Related Tags
layout × 26915android × 10738
css × 5435
html × 4221
java × 3413
xml × 2001
swing × 1328
android-layout × 1238
user-interface × 840
javascript × 777
view × 746
ios × 737
wpf × 678
c# × 570
button × 524
flexbox × 513
flutter × 486
python × 479
listview × 479
qt × 441
swift × 377
jquery × 375
grid × 375
php × 368
textview × 357