inline   2324

« earlier    

Inlining SVG background images in CSS with custom properties
So now I’ve got the same SVG source inlined in two places. That negates any performance benefits I was getting from inlining in the first place. That’s where Trys comes in. He shared a nifty technique he uses in this exact situation: put the SVG source into a custom property!
fridayfrontend  css  cssbasics  svg  inline  customproperties  variables 
4 days ago by spaceninja
HTML Includes That Work Today
Despite the fact that this markup starts out as an `iframe`, if you inspect the graphic above using developer tools, you’ll see the SVG markup for the icon, inlined right in the HTML DOM, with no `iframe` element to be found. This is because the code uses an `iframe` to load the file, and an `onload` event to inject the `iframe`'s content just before the `iframe` in the HTML, before deleting the `iframe` itself.
fridayfrontend  javascript  html  iframes  inline  includes  svg 
4 days ago by spaceninja
Inline SVG... Cached | CSS-Tricks
I wrote that using inline icons makes for the best icon system. I still think that's true. It's the easiest possible way to drop an icon onto a page. No
css  svg  browser  cache  cached  icons  inline 
9 days ago by jonrandy
Digging Into The Display Property: The Two Values Of Display
We talk a lot about Flexbox and CSS Grid Layout, but these layout methods are essentially values of the CSS display property, a workhorse of a property that doesn’t get a lot of attention. Rachel Andrew takes a better look in a short series.
fridayfrontend  display  flexbox  cssgrid  grids  layout  inline  blocks 
11 days ago by spaceninja
Inline IL ASM in C# with Roslyn | xoofx
Source code for Roslyn changes is available on github Source code of the example program is available in this gist In the past years I have been using and abusing a lot patching assemblies for...
roslyn  inline  embedded  il  assembly  language 
22 days ago by gilberto5757
Inline types and functions in Swift — Swift by Sundell
A few ways to use inlined stuff, broadly speaking, to keep scope/readability manageable and colocate tightly related code that's likely to evolve together.
lang:swift  inline  programming  readability  bestpractices 
4 weeks ago by cdzombak
Can I use both Python and SQL syntax highlighting in the same file in Vim? - Stack Overflow
if exists("b:current_syntax") finish endif " Load Python syntax at the top level runtime! syntax/python.vim " Needed to make syntax/sql.vim do something unlet b:current_syntax " Load SQL syntax syntax include @SQL syntax/sql.vim " Need to add the keepend here syn region pythonString matchgroup=pythonQuotes \ start=+[uU]\=\z(['"]\)+ end="\z1" skip="\\\\\|\\\z1" \ contains=pythonEscape,@Spell keepend syn region pythonRawString matchgroup=pythonQuotes \ start=+[uU]\=[rR]\z(['"]\)+ end="\z1" skip="\\\\\|\\\z1" \ contains=@Spell keepend syn region SQLEmbedded contains=@SQL containedin=pythonString,pythonRawString contained \ start=+\v(ALTER|BEGIN|CALL|COMMENT|COMMIT|CONNECT|CREATE|DELETE|DROP|END|EXPLAIN|EXPORT|GRANT|IMPORT|INSERT|LOAD|LOCK|MERGE|REFRESH|RENAME|REPLACE|REVOKE|ROLLBACK|SELECT|SET|TRUNCATE|UNLOAD|UNSET|UPDATE|UPSERT)+ \ end=+;+ let b:current_syntax = "pysql"
sql  vim  python  inline  syntax  highlighting 
6 weeks ago by ktr

« earlier    

related tags

%on_github  1.11  2018  5.2  8  @to_try  _mass_bookmarking  accessibility  accessible  ace  after  allocation  angular  animate  ansible  app  append  apple  archive  assembly  asynchronous  atom  attachments  autoboxing  background  bans  batch  bce  bestpractice  bestpractices  blending  block  blocks  blog  bookmarked_on_site  box-decoration-break  box  browser  bugreport  bugs  button  bytecode  c++  c  cache  cached  caching  children  chrome  chrome_extensions  class  clojure  cms  code  code_console  coding  color  colorbox  compiler  component  computing  conditional  confluence  contenteditable  contrib  coroutines  covariance  critical  css-tricks  css  cssbasics  cssgrid  customproperties  d8  data  debugging  def  defined  delegation  demo  design  dev  development  devs  dialog  directive  display  django  documentation  drupal  drupal8  dsl  edit  editing  editor  element  email  embed.  embedded  enumitem  example  exampleused  explanation  extension  fallback  features  filamentgroup  file  fileapi  files  fit  fix  flexbox  fonts  format  forms  free  fridayfrontend  friendly  function  functions  gatsby  gcc  go  golang  google  goto  graalvm  gradient  graphic  grids  gtd  guide  gulp.js  gulp  hadihariri  hand  hashmap  headphones  hidden  highlighting  hints  horizontal  howto  html  html5.2  html5  icon  icons  ide  if  iframe  iframes  il  image  images  impact  in-depth  in  includes  initialize  inlineforms  inliner  inlines  inner  installs  interesting  intro  invalid  invariance  ios  issue  java  javascript  jekyll  jira  js  kotlin  kotline  lambda  landing  lang:swift  language  latex  layout  libraries  library  linter  linux  list  lits  logical  mac  machine  macos  mail  main  markdown  matplotlib  mic  mobile  mod  module  momentum  namespace  needsediting  open  opensource  optimization  p  packge  padding  pages  perfect  performance  php  pic  playbook  playground  playsinline  polymorphic  populate  post  postcss  programming  prototyping  pseudo-elements  python  questionable  radium  react  readability  reference  reified  rendering  reset  resources  roslyn  rst  safari  sealed  selector  self  sennheiser  serviceworker  shape  skate  smalltalk  sneaky  soundcloud  sprite  sql  squeak  static  strict  style  styles  styling  svg  syntax  tags  tasks  template  ternary  testing-tools  testing  text  tips  tolearn  tools  toread  totry  tounderstand  tutorial  upload  use  usecase  valid  variables  vector  via.tim  video  views  vim  virtual  vizicities  vm  w3schools  web  webdesign  webdev  webpack  windows  wordpress  wordpress_extensions  working  wrap  wrapper  wrapping  wysiwyg  youtube 

Copy this bookmark: