PANE

CSS Layout and Font Integration Trip Up Developers

Developers of varying skill levels are facing challenges with CSS, ranging from teaching it to beginners, managing layout shifts, achieving modern aesthetics, and integrating custom fonts. The core pain revolves around the complexity and nuances of CSS, hindering efficient workflow and project completion. Many seek simpler solutions or better learning resources.

devtoolsproductivitycssfrontendwebdev
FIT
0%
SIGNAL
57%
SOURCES60
FRESHEST POST1D AGO
TRACKED SINCE129D AGO

SOURCES (60)

I had my doubts about Op's point on TTF and dropped it on a project a few months back. Got a complaint within a few weeks from someone on an older android browser seeing system fonts instead of what we'd designed. Added it back the…

r/webdev1d ago
Source preview · reddit.com

Will it strip <style> blocks?

reddit.com1d ago

I created the css file with what I copied from your code and turned the snippet on, but nothing changed.

r/ObsidianMD1d ago

You probably designed this with fixed amount of pixels like manually adding margins with pixel values instead of using auto flex or grid to automatically adjust itself. Gotta learn responsive design I guess

r/webdev1d ago

What is the problem this feature would solve? Bun.build always base64 inlines every url() reference in bundled CSS. A stylesheet pulling in a few font weights (e.g. any @fontsource/ package) balloons from a few KB to hundreds of KB, and there's no way to opt out: The file loader, naming.asset , and publicPath all work as documented for JS imported assets, but CSS url() ignores them (verified on 1.3.14 and 1.4.0). Plugins can't fill the gap either: onLoad returning loader: 'file' — the returned c

GITHUB1d ago

Maybe show us a screenshot of what you're talking about? Posting a CSS snippet and nothing else is asking people to do a lot in terms of recreating and identifying the issue themselves. That said, none of what your snippet shows modifies header styling, that would be a good place to start

r/ObsidianMD1d ago
Source preview · reddit.com

this worked for me! thank you!

reddit.com1d ago

Nice, so basically one button template works for everything as long as the props are set up correctly on each page?

r/Notion1d ago

Someone requested for Customization of codeblock. It will be included in the next release along with table and other improvement. submitted by /u/dsvictor [link] [comments]

r/ObsidianMD1d ago

The problem with prefers-color-scheme is that it doesn't indicate an actual user preference since the default is not "no preference" (which used to exist as a possible value in at least FF before it was intentionally removed) but rather whatever the OS/browser picked. So any website that wants to choose a "default" appearance but still provide choice to users who actually care cannot use this mechanism at all.

HN1d ago
Source preview · reddit.com

came here to say this

reddit.com2d ago

Did you…install the font? Because the font needs to come from somewhere, so if it’s not installed or loaded in via a proper file path, it needs to be imported. here’s a guide for importing google fonts using CSS .

r/ObsidianMD3d ago

get them to actually build something small with html/css, even just a landing page. the constraints click way faster when you're the one wrestling with flexbox and realizing why that 6-column layout on mobile is a nightmare a course on WCAG guidelines would help too, but nothing beats the pain of trying to tab through your own unstyled form and realizing what you've done to future users

r/webdev3d ago

I just seen this, man you're so right. People have disappeared after the first module. I will take into account your advice.

r/alphaandbetausers3d ago

I dunno dawg, if your browser doesn’t support WOFF2, you’re not expecting the best browsing experience. Progressive enhancements was the term while dealing with IE6, and it applies here. Keep non -WOFF2 out of your project, but make sure you define a system fallback font that’s usable. If anything, preload only woff2 cause theres no browser smarts mechanism to determine what’s needed, compared to a font-face block, and all meta preload tags are downloaded.

r/webdev3d ago

The css is a nightmare, i dont blame you for noping out after seeing that file. 4200 lines with probably no structure, typical for a project where ui was afterthought i just use it headless and point something cleaner at the upload folder, maybe that works for you too if the look bothers you enough

r/webdev3d ago

Right but what about binding events, adjusting layouts, animations etc?

r/webdev4d ago

What is the problem this feature would solve? Bun's current CSS code is a rewrite of Lightning CSS (a project that is written in Rust). So Bun has essentially gone from Rust Zig Rust again! What is the feature you are proposing to solve the problem? Use upstream Lightning CSS instead. Reasons: It'll help upstream get faster if Bun contributes to it Less code for Bun to manage, so the codebase gets smaller Lightning's code doesn't have artifacts of the Zig Rust port, so the code will likely be cl

GITHUB4d ago

Great tip!! I do like to do that. Additionally, my personal way to check the step before (to see if I managed to target the correct element) is to slap a bright red border around it haha

r/ObsidianMD4d ago

I’m not very familiar with CSS either, but I do use it, and I just wanted to let you know that sometimes the CSS styles shared by the community don’t work if you have a theme installed, because they clash with the theme’s CSS.

r/ObsidianMD5d ago

Can’t help as I’m not experienced myself, but I have been using Ai with terrific success for some very specific modifications. It’s nice to be able to iterate and get it working just the way I want. Just a thought

r/ObsidianMD5d ago

ask any LLM to create a custom css to highlight text between " " or ' '. It won't be more than a few lines of css and won't interact with your theme.

r/ObsidianMD6d ago

The header feels harder because you're fighting the abstraction instead of learning it. Read the official Theme Handbook on template hierarchy before any Elementor tutorial, once you know which file renders what, the rest stops feeling arbitrary. And go deep on WordPress only, Wix and Squarespace and Shopify are each an afternoon when a client actually needs one.

r/webdev6d ago
Source preview · reddit.com

Every time I try to make something that works across all screen sizes I end up wasting hours on media queries and flexbox. Just built a job board for freelancers and the…

reddit.com6d ago

That helps. The bit I would still want measured is consistency rather than the UA string, because the walls mostly catch a mismatch. JA3 says one stack, the JS quirks say another, and V8 on a non Chromium host still has its own timing and error message tells. Have you run it through something like CreepJS to see where it diverges from real Chrome?

r/selfhosted6d ago

this is a really solid breakdown, the style tags thing trips up a lot of people starting out

r/ObsidianMD6d ago

Scrub that, remove <style> and </style> and "text align:..." (invalid css) and the selector alone does work, I've had too many selectors be not specific enough lately and have forgotten how basic cssclasses work!

r/ObsidianMD6d ago

/* 1. No <style> tags: In a .css file, you don't need <style> and </style>. Those belong in HTML files. If you leave them in a CSS file, the browser gets confused and ignores all your code. 2. CSS requires American English: Even if you use British English day-to-day, web standards only recognize American spellings like "color" or "background-color". Words like "colour" won't work. 3. Property names need hyphens: CSS uses dashes between mult

r/ObsidianMD6d ago

I don't think it's that the css is wrong, it's that it isn't effecting the page, you have a single selector, .red, the background is being set by a more specific selector, I can't remember what it is of the top of my head. To troubleshoot stuff like this you'll need to use the inspector, it's cmd+option+i on a mac, probably ctrl on window.

r/ObsidianMD6d ago

Sure, and a quick correction to what I said above, you don't have to lose the grain. It just can't be `fixed`. Before: body::after { content: ""; position: fixed; inset: 0; z-index: 500; pointer-events: none; opacity: 0.045; background-image: url("data:image/svg+xml,%3Csvg xmlns=' http://www.w3.org/2000/svg ' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves=&#39

r/webdev6d ago

Like already mentioned, first one wins. You could do it like me and go with properties or tags instead. Some also use folders. It will always take the exact property, tag or folder enlisted in there instead of the first mention. For properties, for "Fwog" and "Toe Jammer", you assign them some property (name it after what's relevant or even just "graph" for now) and give them "water". For the graph, you then want to add ["(property name)":&qu

r/ObsidianMD6d ago

It’s 100% doable with CSS hopefully someone who knows how will come along and teach us all.

r/ObsidianMD8d ago
Source preview · reddit.com

That's a great idea.

reddit.com8d ago
Source preview · reddit.com

before changing any cache rules, confirm which layer is stale instead of guessing. two requests do it: curl -sI https://yourdomain/ and look at age and x-cache. a large age with a HIT…

reddit.com8d ago
Source preview · reddit.com

Baseline, all the way.

reddit.com9d ago
Source preview · reddit.com

Flexoki

reddit.com9d ago

you can’t, from my understanding they are all the same size because it makes it load better from what i remember reading. might be possible with css but idk.

r/ObsidianMD9d ago

Thank you! I actually meant the banner height and the fact the title was not underneath it but on top over the banner, if that makes sense. I use Pretty Properties instead of the Simple Banner plugin, which also has a banners feature, so the settings might be a bit different, but I managed to find the option :) It looks so much cleaner like this! Your homepage looks so cute with the bird icon! And thank you for the theme recommendation (in another comment). I just downloaded Velocity and I'm

r/ObsidianMD10d ago
Source preview · reddit.com

blinders would be a more apt name

reddit.com10d ago

Browser and version? Firefox and Chrome look good. Hope you are not useing IE8 :-)

r/SideProject10d ago

Referencing a system font in your CSS isn't the same as embedding or distributing the file. Where it gets a little fuzzy is that the license covering that specific font varies by who actually owns it. Most EULAs spell out use versus embedding versus redistribution pretty explicitly. I'd check whether your build ever ships an @font-face src pointing at the font file itself, or if it's only named in the fallback stack. Fallback-only is the stronger position, but I'd also just ask t

r/webdev10d ago

Firefox on Linux works for sure, that's what I use for dev. This project will likely take me 12 odd months anyway so there's time for browser support the catch up.

r/webdev10d ago

hello guys, i know this looks simple but this is driving me nuts. i know that the grey block is a callout block, but i want to know how can i colour the entire line of text like here? when i try to choose background colour for the header, it only changes the colour behind the words themselves rather than giving me an entire coloured smooth line. submitted by /u/solelysolid [link] [comments]

r/Notion10d ago

of course, one shoe may not fit all. So, some standard blocks and then some added by user as they use and finally some ai layer that keeps learning and getting fluent

r/SomebodyMakeThis10d ago

Change the hero color to a soft green, somewhat transparent, and remove the left gradient. Makes no sense

r/SideProject11d ago
Source preview · reddit.com

I don’t have the ref, sorry

reddit.com11d ago

I registered my first domain 1997 and before that already coded websites: members.aol.com/…/I saw the inception of CSS, the infamous ACID test, IE6, web standards movement - anything and everything.To this day, CSS is something that is not separating design from markup (try logic, you will get it), and as all things technology is now a mix of technical constraints, backwards compatibility, totally conflicting decisions.I am traumatized with floats and clearfix, and there was a lot of debate arou

HN12d ago

Found a workaround, in the theme.css file I just added some code on the end that targets the descriptors on product pages, and makes the <strong> tagged text look like <H3>. Now it all works on all products!

r/shopify12d ago

Fantastic! On the technical side, it is sad that you use JavaScript animations instead of things that CSS animations should easily handle. It seems like programmers nowadays use frameworks without understanding what they are missing by not understanding the underlying technologies that the frameworks separate them from. Nonetheless I love it!

r/webdev12d ago

Is there a CSS or theme that has a buffer at the bottom of the writing workspace?

FORUM12d ago

Thank you! Knowing what they’re actually called will help me go in the right direction. I appreciate your help.

r/ObsidianMD13d ago

This is really cool! Did you use a plugin for the tiles and sections, or is it all custom css?

r/ObsidianMD13d ago

It's not theme dependent, but it's dependent on the CSS snippets that came with the vault that you downloaded. So you will need to copy its CSS snippets to your own vault if you want to bring over the styling.

r/ObsidianMD13d ago

Anything that can be accomplished with a theme can be accomplished with a CSS snippet because themes are also just CSS. So yes, you can edit this callout’s design to your heart’s content.

r/ObsidianMD13d ago

every indie game site i've seen with a chat or community panel bolted on has the same tell, the fonts and the border radius are from a different universe than the rest of the page. full disclosure i run atomchat so im biased, but the theming/CSS surface ended up being the thing devs asked about way more than the actual chat features. i think most of these tools ship a decent api and then treat styling as an afterthought, which is backwards for anyone with an art direction. curious if the dev

r/IndieDev13d ago
Source preview · reddit.com

What plugins do you use to get something like that?

reddit.com14d ago

As a dark-mode user, I always struggle with websites that use pure black for background and pure white for text. The current Discourse forum UI has a good background, but still using pure white (or close enough) for the …

FORUM14d ago

doesn't have the stretchy face interaction though, I really doubt that's possible without JS

r/webdev14d ago

I'm pretty sure it's just default font. I haven't changed it and am not using a theme.

r/ObsidianMD14d ago

SOLUTION LANDSCAPE

Brought to you byTop Sectors

A Player feature.See how many ways this pain can be solved, who's already building, and where the gaps are.