Movatterモバイル変換


[0]ホーム

URL:


Menu
×
See More 
Sign In
+1 Get Certified Upgrade For Teachers Spaces Get Certified Upgrade For Teachers Spaces
   ❮   
     ❯   

CSS References

CSS ReferenceCSS Browser SupportCSS SelectorsCSS CombinatorsCSS Pseudo-classesCSS Pseudo-elementsCSS At-rulesCSS FunctionsCSS Reference AuralCSS Web Safe FontsCSS Fallback FontsCSS AnimatableCSS UnitsCSS PX-EM ConverterCSS ColorsCSS Color ValuesCSS Default ValuesCSS Entities

CSS Properties

accent-coloralign-contentalign-itemsalign-selfallanimationanimation-delayanimation-directionanimation-durationanimation-fill-modeanimation-iteration-countanimation-nameanimation-play-stateanimation-timing-functionaspect-ratiobackdrop-filterbackface-visibilitybackgroundbackground-attachmentbackground-blend-modebackground-clipbackground-colorbackground-imagebackground-originbackground-positionbackground-position-xbackground-position-ybackground-repeatbackground-sizeblock-sizeborderborder-blockborder-block-colorborder-block-endborder-block-end-colorborder-block-end-styleborder-block-end-widthborder-block-startborder-block-start-colorborder-block-start-styleborder-block-start-widthborder-block-styleborder-block-widthborder-bottomborder-bottom-colorborder-bottom-left-radiusborder-bottom-right-radiusborder-bottom-styleborder-bottom-widthborder-collapseborder-colorborder-end-end-radiusborder-end-start-radiusborder-imageborder-image-outsetborder-image-repeatborder-image-sliceborder-image-sourceborder-image-widthborder-inlineborder-inline-colorborder-inline-endborder-inline-end-colorborder-inline-end-styleborder-inline-end-widthborder-inline-startborder-inline-start-colorborder-inline-start-styleborder-inline-start-widthborder-inline-styleborder-inline-widthborder-leftborder-left-colorborder-left-styleborder-left-widthborder-radiusborder-rightborder-right-colorborder-right-styleborder-right-widthborder-spacingborder-start-end-radiusborder-start-start-radiusborder-styleborder-topborder-top-colorborder-top-left-radiusborder-top-right-radiusborder-top-styleborder-top-widthborder-widthbottombox-decoration-breakbox-reflectbox-shadowbox-sizingbreak-afterbreak-beforebreak-insidecaption-sidecaret-color@charsetclearclipclip-pathcolorcolor-schemecolumn-countcolumn-fillcolumn-gapcolumn-rulecolumn-rule-colorcolumn-rule-stylecolumn-rule-widthcolumn-spancolumn-widthcolumns@containercontentcounter-incrementcounter-resetcounter-set@counter-stylecursordirectiondisplayempty-cellsfilterflexflex-basisflex-directionflex-flowflex-growflex-shrinkflex-wrapfloatfont@font-facefont-familyfont-feature-settingsfont-kerning@font-palette-valuesfont-sizefont-size-adjustfont-stretchfont-stylefont-variantfont-variant-capsfont-weightgapgridgrid-areagrid-auto-columnsgrid-auto-flowgrid-auto-rowsgrid-columngrid-column-endgrid-column-startgrid-rowgrid-row-endgrid-row-startgrid-templategrid-template-areasgrid-template-columnsgrid-template-rowshanging-punctuationheighthyphenshyphenate-characterimage-rendering@importinitial-letterinline-sizeinsetinset-blockinset-block-endinset-block-startinset-inlineinset-inline-endinset-inline-startisolationjustify-contentjustify-itemsjustify-self@keyframes@layerleftletter-spacingline-heightlist-stylelist-style-imagelist-style-positionlist-style-typemarginmargin-blockmargin-block-endmargin-block-startmargin-bottommargin-inlinemargin-inline-endmargin-inline-startmargin-leftmargin-rightmargin-topmarkermarker-endmarker-midmarker-startmaskmask-clipmask-compositemask-imagemask-modemask-originmask-positionmask-repeatmask-sizemask-typemax-block-sizemax-heightmax-inline-sizemax-width@mediamin-block-sizemin-inline-sizemin-heightmin-widthmix-blend-mode@namespaceobject-fitobject-positionoffsetoffset-anchoroffset-distanceoffset-pathoffset-positionoffset-rotateopacityorderorphansoutlineoutline-coloroutline-offsetoutline-styleoutline-widthoverflowoverflow-anchoroverflow-wrapoverflow-xoverflow-yoverscroll-behavioroverscroll-behavior-blockoverscroll-behavior-inlineoverscroll-behavior-xoverscroll-behavior-ypaddingpadding-blockpadding-block-endpadding-block-startpadding-bottompadding-inlinepadding-inline-endpadding-inline-startpadding-leftpadding-rightpadding-top@pagepage-break-afterpage-break-beforepage-break-insidepaint-orderperspectiveperspective-originplace-contentplace-itemsplace-selfpointer-eventsposition@propertyquotesresizerightrotaterow-gapscale@scopescroll-behaviorscroll-marginscroll-margin-blockscroll-margin-block-endscroll-margin-block-startscroll-margin-bottomscroll-margin-inlinescroll-margin-inline-endscroll-margin-inline-startscroll-margin-leftscroll-margin-rightscroll-margin-topscroll-paddingscroll-padding-blockscroll-padding-block-endscroll-padding-block-startscroll-padding-bottomscroll-padding-inlinescroll-padding-inline-endscroll-padding-inline-startscroll-padding-leftscroll-padding-rightscroll-padding-topscroll-snap-alignscroll-snap-stopscroll-snap-typescrollbar-colorshape-outside@starting-style@supportstab-sizetable-layouttext-aligntext-align-lasttext-decorationtext-decoration-colortext-decoration-linetext-decoration-styletext-decoration-thicknesstext-emphasistext-emphasis-colortext-emphasis-positiontext-emphasis-styletext-indenttext-justifytext-orientationtext-overflowtext-shadowtext-transformtext-underline-offsettext-underline-positiontoptransformtransform-origintransform-styletransitiontransition-delaytransition-durationtransition-propertytransition-timing-functiontranslateunicode-bidiuser-selectvertical-alignvisibilitywhite-spacewidowswidthword-breakword-spacingword-wrapwriting-modez-indexzoom



CSSDefault Values Reference


Default CSS Values for HTML Elements

The table below shows the default CSS browser values for all HTML elements.

ElementDefault CSS ValueTry it
a:linkcolor: (internal value);
text-decoration: underline;
cursor: auto;
Try it »
a:visitedcolor: (internal value);
text-decoration: underline;
cursor: auto;
Try it »
a:link:activecolor: (internal value);
Try it »
a:visited:activecolor: (internal value);
Try it »
abbrNone.
addressdisplay: block;
font-style: italic;
Try it »
areadisplay: none;
articledisplay: block;
asidedisplay: block;
audioNone.
bfont-weight: bold;Try it »
baseNone.
bdiNone.
bdounicode-bidi: bidi-override;
blockquotedisplay: block;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 40px;
margin-right: 40px;
Try it »
bodydisplay: block;
margin: 8px;
Try it »
body:focusoutline: none;Try it »
brNone.
buttonNone
canvasNone.
captiondisplay: table-caption;
text-align: center;
Try it »
citefont-style: italic;Try it »
codefont-family: monospace;Try it »
coldisplay: table-column;Try it »
colgroupdisplay: table-column-groupTry it »
datalistdisplay: none;
dddisplay: block;
margin-left: 40px;
Try it »
deltext-decoration: line-through;Try it »
detailsdisplay: block;
dfnfont-style: italic;Try it »
dialogNone.
divdisplay: block;Try it »
dldisplay: block;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
Try it »
dtdisplay: block;Try it »
emfont-style: italic;Try it »
embed:focusoutline: none;
fieldsetdisplay: block;
margin-left: 2px;
margin-right: 2px;
padding-top: 0.35em;
padding-bottom: 0.625em;
padding-left: 0.75em;
padding-right: 0.75em;
border: 2px groove (internal value);
Try it »
figcaptiondisplay: block;
figuredisplay: block;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 40px;
margin-right: 40px;
Try it »
footerdisplay: block;
formdisplay: block;
margin-top: 0em;
Try it »
h1display: block;
font-size: 2em;
margin-top: 0.67em;
margin-bottom: 0.67em;
margin-left: 0;
margin-right: 0;
font-weight: bold;
Try it »
h2display: block;
font-size: 1.5em;
margin-top: 0.83em;
margin-bottom: 0.83em;
margin-left: 0;
margin-right: 0;
font-weight: bold;
Try it »
h3display: block;
font-size: 1.17em;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
font-weight: bold;
Try it »
h4display: block;
margin-top: 1.33em;
margin-bottom: 1.33em;
margin-left: 0;
margin-right: 0;
font-weight: bold;
Try it »
h5display: block;
font-size: .83em;
margin-top: 1.67em;
margin-bottom: 1.67em;
margin-left: 0;
margin-right: 0;
font-weight: bold;
Try it »
h6display: block;
font-size: .67em;
margin-top: 2.33em;
margin-bottom: 2.33em;
margin-left: 0;
margin-right: 0;
font-weight: bold;
Try it »
headdisplay: none;
headerdisplay: block;
hrdisplay: block;
margin-top: 0.5em;
margin-bottom: 0.5em;
margin-left: auto;
margin-right: auto;
border-style: inset;
border-width: 1px;
Try it »
htmldisplay: block;
html:focusoutline: none;
ifont-style: italic;Try it »
iframe:focusoutline: none;
iframe[seamless]display: block;
imgdisplay: inline-block;Try it »
inputNone.
instext-decoration: underline;Try it »
kbdfont-family: monospace;Try it »
labelcursor: default;Try it »
legenddisplay: block;
padding-left: 2px;
padding-right: 2px;
border: none;
Try it »
lidisplay: list-item;
linkdisplay: none;
mainNone.
mapdisplay: inline;
markbackground-color: yellow;
color: black;
Try it »
menudisplay: block;
list-style-type: disc;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
padding-left: 40px;
menuitemNone.
metaNone.
meterNone.
navdisplay: block;
noscriptNone.
object:focusoutline: none;
oldisplay: block;
list-style-type: decimal;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
padding-left: 40px;
Try it »
optgroupNone.
optionNone.
outputdisplay: inline;
pdisplay: block;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
Try it »
paramdisplay: none;
pictureNone.
predisplay: block;
font-family: monospace;
white-space: pre;
margin: 1em 0;
Try it »
progressNone.
qdisplay: inline;Try it »
q::beforecontent: open-quote;Try it »
q::aftercontent: close-quote;Try it »
rpNone.
rtline-height: normal;
rubyNone.
stext-decoration: line-through;Try it »
sampfont-family: monospace;Try it »
scriptdisplay: none;
sectiondisplay: block;Try it »
selectNone.
smallfont-size: smaller;Try it »
sourceNone.
spandisplay: inline;
striketext-decoration: line-through;Try it »
strongfont-weight: bold;Try it »
styledisplay: none;
subvertical-align: sub;
font-size: smaller;
Try it »
summarydisplay: block;
supvertical-align: super;
font-size: smaller;
Try it »
tabledisplay: table;
border-collapse: separate;
border-spacing: 2px;
border-color: gray;
Try it »
tbodydisplay: table-row-group;
vertical-align: middle;
border-color: inherit;
tddisplay: table-cell;
vertical-align: inherit;
templateNone.
textareaNone.
tfootdisplay: table-footer-group;
vertical-align: middle;
border-color: inherit;
thdisplay: table-cell;
vertical-align: inherit;
font-weight: bold;
text-align: center;
theaddisplay: table-header-group;
vertical-align: middle;
border-color: inherit;
timeNone.
titledisplay: none;
trdisplay: table-row;
vertical-align: inherit;
border-color: inherit;
trackNone.
utext-decoration: underline;Try it »
uldisplay: block;
list-style-type: disc;
margin-top: 1em;
margin-bottom: 1 em;
margin-left: 0;
margin-right: 0;
padding-left: 40px;
Try it »
varfont-style: italic;Try it »
videoNone.
wbrNone.


×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning.
Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness
of all content. While using W3Schools, you agree to have read and accepted ourterms of use,cookies andprivacy policy.

Copyright 1999-2025 by Refsnes Data. All Rights Reserved.W3Schools is Powered by W3.CSS.


[8]ページ先頭

©2009-2025 Movatter.jp