Skip to main content

Search

Items tagged with: css


Woah this is really cool, apparently they're adding native Masonry layouting to #CSS: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Masonry_layout! It's available in Firefox and Safari under technical preview flags already. This is one of the main usages of Javascript on my site to lay out artwork, it would be really cool to do that without JS.
#css



🌜 🦉 Things I did today: my websites now automatically switch to a dark theme if your browser has one.
- https://www.davidrevoy.com/
- https://www.peppercarrot.com/

#webdev #css


TopNavBar: CSS-Troubles mit NoScript?


Hallo ihr tapferen Recken und Streiter im Friendica Codeland,

mir fällt immer wieder auf, dass sich meine TimeLine (/network) über die TopNavBar schiebt. Das ist ab und an etwas nervig, weil dabei auch die Infos in der Glocke verdeckt und nicht mehr klickbar werden.
Im CSS-fach-Chinesisch: da wird wohl eins der <div-Tags> beim z-index einen unglücklichen Wert haben. Zumindest meine Vermutung aus der weiten Ferne.

Beheben kann ich das ganze, wenn ich die ganzen per NoScript geblockten Quellen zulassen würde. Das mag ich aber nicht so pauschal machen.

Falls machbar, habt ihr eine Chance, das bei Gelegenheit zu beheben? Oder habt ihr einen anderen Tipp?

Hier mal ein Blick auf meine TopNavBar:

Und hier einen Blick auf meine NoScript-Optionen. Die Seite meiner Friendica-HomeBase-Instanz ist freigeschaltet. Der Rest nicht:

@Friendica Support

#Friendica #CSS #Fehler


I believe people on the #Fediverse are more likely to add alternative text to the images they post than on any other popular social media platform, that's great for #Accessibility. But it isn't the end-all-be-all of it. For example, when one of my contacts posts in German or Finnish or Farsi, I can copy the text and plug it in a translator to figure out what they meant.

However, when they share a picture including text in the same language, even if they transcribed the text in the picture in the alternative text attribute, I can't access it on mobile at all, and even on desktop I can't copy it from the default popup on mouse hover.

I tried to dabble with #CSS to reveal the alt-text attribute value using pseudo-content, but it doesn't work since we're dealing with an #HTML <img> which is an empty element by definition. Is there any other way to expose this attribute value other than just parse the text in the post body directly?

#WebDevelopment


#CSS file: `flex: calc(sin(var(--pageDepth)) * 0.343) 1 auto;`

Me: weird flex but okay
#css


Taking a pause on my #CSS course for a little bit to actually practice what I've learned. I'm getting through the course and actually grasping what I'm learning, but the problem with the course I'm taking is I don't think there are enough exercises for me to actually retain it all. So to practice, I'm using other websites as reference and attempting to copy the look of it and build it from scratch using what I've learned so far. Seems to be a great strategy and is helping but if anyone knows of any sites that have some really great beginner CSS #coding exercises, send 'em my way and I'll give them a try!


New task on my list, after days of trying to make a CSS Grid-based layout that didn't use any media queries at all to be responsive:

Task card that reads "Stop trying to be clever and just use media queries to build the grid"

#webDesign #webDesignNovice #CSS


CSS class' "icon" property "height" causing distance beween two lines in profile views


The said #CSS class .icon has a property height: 48px which with current HTML structure causes a distance between two lines when I view a remote profile (view: /contact/X or a post (view: /display/X):

I'm sure, removing height from the said CSS class won't fix it in the long run but maybe checking the HTML/div structure would.

cc @Friendica Support


I'll do a new #introduction for this account

Hello! I am a British software developer who works in #Java and #Javascript / #HTML / #CSS, but I'm also known to dabble in other languages. I also have done mobile development for both #ios and #android. I do all my dev on a #Mac.

Outside of that, I enjoy #gaming, I have a #SteamDeck and an #Xbox Series X. I have a #PS4, but it's currently unplugged.

I also like to watch #Netflix and #AmazonPrime


I wrote an article on #css layers. It's as condensed as possible as all the other guides I saw were over 6000 words. I have #ADHD, that's not gonna work.

So, less than 800 words on this new "feature". What, how and why.

https://jmes.tech/posts/what-how-why-layer

#webdev #technology


Dev Snap Just Launched!

Dev Snap Is A Website With Tons of Free and Open Source HTML, CSS, and JavaScript Assets for Web Developers.

https://devsnap.me

#html, #css, #javascript, #jquery, #scss, #bootstrap, #bootstrap4, #css3, #react.js, #react, #vue, #vue.js, #devsnap, #devsnap.me


Zenburn color scheme for Simple.css