Giter Club home page Giter Club logo

Comments (10)

domenic avatar domenic commented on September 3, 2024 1

My suggestion:

dl.domintro { margin-top:2.5em }

dl.domintro::before {
  content: 'For web developers (non-normative)';
  top: -0.8em;
  transform: none;
  left: -0.8em;
}

screenshot-2017-11-17 fetch standard

from whatwg.org.

foolip avatar foolip commented on September 3, 2024 1

FWIW, I like the non-slanted one, and wouldn't mind making the other ones non-slanded as well. But having just this one not be slanted because it's longer would also be fine.

from whatwg.org.

shuangMoz avatar shuangMoz commented on September 3, 2024

I like "For web developers".

from whatwg.org.

domfarolino avatar domfarolino commented on September 3, 2024

I agree with "For web developers (non-normative)", I like that the most. I guess with some more input perhaps we can start changing some domintro box titles?

from whatwg.org.

annevk avatar annevk commented on September 3, 2024

@domfarolino it's a style sheet change at the moment so we'd end up changing it for all at once.

from whatwg.org.

tabatkins avatar tabatkins commented on September 3, 2024

Ooh, yeah, I tried it myself, and I like the "For web developers (non-normative)" one. The style needs to be changed slightly, of course - if you just swap out the text, the length causes it to slightly overlap the text.

from whatwg.org.

annevk avatar annevk commented on September 3, 2024

Changes I made:

dl.domintro::before { content: 'For web developers (non-normative)'; top:-0.8em }
dl.domintro { margin-top:2.5em }

Screenshot:
screen shot 2017-11-17 at 16 38 19

from whatwg.org.

annevk avatar annevk commented on September 3, 2024

(That is, I fiddled with the inspector until it looked like that. If that's acceptable I'll create a PR.)

from whatwg.org.

annevk avatar annevk commented on September 3, 2024

I'm okay with that, but note that makes it inconsistent with how we style other such text boxes.

from whatwg.org.

domenic avatar domenic commented on September 3, 2024

Sure, but I think we're already going for making these special by not using a single word.

from whatwg.org.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.